mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
zebra: remove thread-unsafe debug from netlink nhg encoder
Remove use of vrf name, which isn't thread-safe. Signed-off-by: Mark Stapp <mjs@cisco.com>
This commit is contained in:
parent
bea4aa7b5e
commit
079ee236ec
|
@ -3288,9 +3288,8 @@ ssize_t netlink_nexthop_msg_encode(uint16_t cmd,
|
|||
nexthop_done:
|
||||
|
||||
if (IS_ZEBRA_DEBUG_KERNEL)
|
||||
zlog_debug("%s: ID (%u): %pNHv(%d) vrf %s(%u) %s ",
|
||||
zlog_debug("%s: ID (%u): %pNHv(%d) vrf %u %s ",
|
||||
__func__, id, nh, nh->ifindex,
|
||||
vrf_id_to_name(nh->vrf_id),
|
||||
nh->vrf_id, label_buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue