bgpd: debug protect a log message

With the addition of RA being turned on by default.
Spewing this error message when unable to connect
doesn't make much sense anymore.

Ticket: CM-10494
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Radhika Mahankali <radhika@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-04-21 21:34:48 -04:00
parent d4986a1f56
commit 7709d56bc9

View File

@ -1290,8 +1290,9 @@ bgp_peer_conf_if_to_su_update_v4 (struct peer *peer, struct interface *ifp)
return 1;
}
else
zlog_warn("%s: IPv4 interface address is not /30 or /31, v4 session not started",
peer->conf_if);
if (bgp_debug_neighbor_events(peer))
zlog_debug("%s: IPv4 interface address is not /30 or /31, v4 session not started",
peer->conf_if);
}
}