]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: remove error message for unkown afi/safi combination
authorDon Slice <dslice@cumulusnetworks.com>
Wed, 23 Oct 2019 16:30:28 +0000 (16:30 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 24 Oct 2019 17:24:49 +0000 (17:24 +0000)
commit5d7c769ac410ddeb081ff31c55b9280d66afeee9
tree73ddf0d01a04d4036b946bf7c7830319ce3a2b00
parentada85fceb5d224c6494943e00785587aaf6bcfa4
bgpd: remove error message for unkown afi/safi combination

Problem reported with error messages appearing in the log
complaining about invalid afi/safi combinations.  Determined
that the error messages were recently added in the function
that turns afi and safi values to strings.  Unfortunately,
the function is called from places using FOREACH_AFI_SAFI,
which spins thru every afi and safi number including some
that are not legal together (ipv4 evpn and l2vpn multicast
for example.)   This fix removes these error messages since
it is not necessarily an error to call it with invalid
combinations.

Ticket: CM-26883
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_vty.c