]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Include capabilities when sending NOTIFICATION(7)
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 18 Apr 2024 14:37:51 +0000 (17:37 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 18 Apr 2024 14:44:51 +0000 (17:44 +0300)
commit79cf6512f4adf3a25e78355832aff7b6179d2e30
tree956b8fcf64e0ad1a2fc6127cc6db584ee0948e5e
parent8e7fb950c13779d700fa79f82423bfcb64974b39
bgpd: Include capabilities when sending NOTIFICATION(7)

RFC5492 says:

This document defines a new Error Subcode, Unsupported Capability.
   The value of this Subcode is 7.  The Data field in the NOTIFICATION
   message MUST list the set of capabilities that causes the speaker to
   send the message.  Each such capability is encoded in the same way as
   it would be encoded in the OPEN message.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_open.c