commit | 3b847ef4e81c6f1a5d4994680d530045765fd053 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul.jakma@hpe.com> | Fri Apr 22 12:48:49 2016 +0100 |
committer | Paul Jakma <paul.jakma@hpe.com> | Tue Sep 13 10:36:43 2016 +0100 |
tree | 04fcd0f852e384ba862d815de4aef88b6a4505e8 | |
parent | 7f39242bf44c85bb651506214666b3ebdd78b928 [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>