From 72f5fcae604cccaf44233c832978f6baebceca76 Mon Sep 17 00:00:00 2001 From: Dinesh G Dutt Date: Wed, 26 Aug 2015 10:54:11 -0700 Subject: [PATCH] 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 --- bgpd/bgpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5