CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2021/05/27 01:52:54

Modified files:
        usr.sbin/bgpd  : session.c 

Log message:
Improve graceful restart capability handling.

Announce only the graceful restart capability header but do not include any
AFI / SAFI pairs. bgpd does not preserve its forwarding state over restarts
and only implements the "Procedures for the Receiving Speaker".

When calculating the negotiated capabilities do not override the peer
capabilities (AFI / SAFI bits), just make sure the negotiated bits are
cleared. With this the peer capabilities are properly shown in bgpctl.

Reply via email to