]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Invalid NH's should send an apropriate reason code
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 20 Sep 2019 10:41:02 +0000 (06:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 20 Sep 2019 17:10:19 +0000 (13:10 -0400)
commit22c16902083282a1dffbaa689189a1975e670d6a
treecc873457ebfa5ce7f7e8e485fc3b9f73a4dafea0
parentd946538310aa96e91b315357cbd7bc79910ac7f0
bgpd: Invalid NH's should send an apropriate reason code

RFC 4271 sec 6.3 p33, In the case of a BGP_NEXTHOP attribute with an
incorrect value, FRR is supposed to send a notification
and include 'Corresponding type, length and value of the NEXT_HOP
attribute in the notification data.

Fixes: #4997
Signed-off-by: Nikos <ntriantafillis@gmail.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_attr.c