From: Dinesh G Dutt Date: Wed, 26 Aug 2015 17:54:11 +0000 (-0700) Subject: BGP: Fix warning message when interface has IPv4 address for unnumbered X-Git-Tag: frr-2.0-rc1~1277 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=72f5fcae604cccaf44233c832978f6baebceca76;p=matthieu%2Ffrr.git BGP: Fix warning message when interface has IPv4 address for unnumbered Ticket: CM-6192 Reviewed By: Donald, Daniel, Vipin Testing Done: In the presence of an IPv4 address that is not a /30 or /31 and the user is trying to use BGP unnumbered, a warning message is printed which seems confusing to the user. Fixing the warning message to indicate that its only a v4 session isn't coming up makes it clearer. Signed-off-by: Dinesh G Dutt Acked-by: Donald Sharp Acked-by: Daniel Walton Acked-by: Vipin Kumar --- diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 3d6553cac2..d0ebbe88e0 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -1218,7 +1218,7 @@ bgp_peer_conf_if_to_su_update (struct peer *peer) return; } else - zlog_warn("%s neighbor interface with IPv4 numbered links used without /30 or /31", + zlog_warn("%s: IPv4 interface address is not /30 or /31, v4 session not started", peer->conf_if); }