From 82e194ed85c080c72718561358e0fec0589caba5 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Mon, 30 Apr 2018 10:35:10 +0200 Subject: [PATCH] bgpd: add notify value in zlog notification message for pbr notifications values from zebra related to pbr are dumped. Signed-off-by: Philippe Guibert --- bgpd/bgp_zebra.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 390eb44eb8..a5f51b9fd9 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -1987,8 +1987,8 @@ static int ipset_notify_owner(int command, struct zclient *zclient, bgp_pbim = bgp_pbr_match_ipset_lookup(vrf_id, unique); if (!bgp_pbim) { if (BGP_DEBUG(zebra, ZEBRA)) - zlog_debug("%s: Fail to look BGP match (%u)", - __PRETTY_FUNCTION__, unique); + zlog_debug("%s: Fail to look BGP match ( %u %u)", + __PRETTY_FUNCTION__, note, unique); return 0; } @@ -2036,8 +2036,8 @@ static int ipset_entry_notify_owner(int command, struct zclient *zclient, unique); if (!bgp_pbime) { if (BGP_DEBUG(zebra, ZEBRA)) - zlog_debug("%s: Fail to look BGP match entry (%u)", - __PRETTY_FUNCTION__, unique); + zlog_debug("%s: Fail to look BGP match entry (%u %u)", + __PRETTY_FUNCTION__, note, unique); return 0; } @@ -2080,8 +2080,8 @@ static int iptable_notify_owner(int command, struct zclient *zclient, bgpm = bgp_pbr_match_iptable_lookup(vrf_id, unique); if (!bgpm) { if (BGP_DEBUG(zebra, ZEBRA)) - zlog_debug("%s: Fail to look BGP iptable (%u)", - __PRETTY_FUNCTION__, unique); + zlog_debug("%s: Fail to look BGP iptable (%u %u)", + __PRETTY_FUNCTION__, note, unique); return 0; } switch (note) { -- 2.39.5