From b083885198157555bbb916ecae9809c5d67a567b Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Thu, 28 Mar 2024 11:07:24 +0100 Subject: [PATCH] bgpd: log new ipv6 global in bgp_interface_address_add Log new IPv6 global address in bgp_interface_address_add Signed-off-by: Louis Scalbert --- bgpd/bgp_zebra.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index a6d2a30013..5977180ce5 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -357,9 +357,10 @@ static int bgp_interface_address_add(ZAPI_CALLBACK_ARGS) ((IS_MAPPED_IPV6(&peer->nexthop.v6_global)) || IN6_IS_ADDR_LINKLOCAL(&peer->nexthop.v6_global))) { if (bgp_debug_zebra(ifc->address)) { - zlog_debug("Update peer %pBP's current intf addr %pI6 and send updates", + zlog_debug("Update peer %pBP's current intf global addr from %pI6 to %pI6 and send updates", peer, - &peer->nexthop.v6_global); + &peer->nexthop.v6_global, + &addr->u.prefix6); } memcpy(&peer->nexthop.v6_global, &addr->u.prefix6, IPV6_MAX_BYTELEN); -- 2.39.5