mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 18:52:04 +00:00
zebra: move up prefix2str call in rib dump
Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
ef7b8be459
commit
5d27875b7d
@ -2830,8 +2830,10 @@ void _route_entry_dump(const char *func, union prefixconstptr pp,
|
||||
struct vrf *vrf = vrf_lookup_by_id(re->vrf_id);
|
||||
struct nexthop_group *nhg;
|
||||
|
||||
prefix2str(pp, straddr, sizeof(straddr));
|
||||
|
||||
zlog_debug("%s: dumping RE entry %p for %s%s%s vrf %s(%u)", func,
|
||||
(const void *)re, prefix2str(pp, straddr, sizeof(straddr)),
|
||||
(const void *)re, straddr,
|
||||
is_srcdst ? " from " : "",
|
||||
is_srcdst ? prefix2str(src_pp, srcaddr, sizeof(srcaddr))
|
||||
: "",
|
||||
|
Loading…
Reference in New Issue
Block a user