]> 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 10:41:02 +0000 (06:41 -0400)
commit7decb30c20558990ee1d9e153d529e207eea4bee
tree18c461b3de0314f6ec4e86763fd72b99927589a5
parent9c821adaa6dda4ca5902005756098f3e65497335
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