summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@hpe.com>2016-04-22 12:48:49 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-26 09:36:09 -0400
commit8628876f661045722f3db18e367379445bfecdb3 (patch)
tree5c21840733ff291d9007ddc40d5a1ce6dcece230 /lib/if.c
parentebd12e62a9e8e49ffdc2211f330aec4d004a15e8 (diff)
bgpd: Squash spurious "unknown afi" log messages
* bgp_packet.c: (bgp_update_receive) doesn't differentiate between NLRIs that are 0 AFI/SAFI cause they weren't set, and those because a peer sent a bogus AFI/SAFI, before sending sending what may be a misleading, spurious log message. Check the .nlri pointer is set and avoid this. Incorporating a suggestion from: G. Paul Ziemba <unp@ziemba.us>
Diffstat (limited to 'lib/if.c')
0 files changed, 0 insertions, 0 deletions