]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Vanish FQDN capability hostname/domainname before handling new BGP OPEN
authorDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 30 Jan 2023 21:23:38 +0000 (23:23 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 30 Jan 2023 21:34:41 +0000 (23:34 +0200)
commitd188b08f3027b466ae9e3476f340469c5f9052c9
tree3d16ff18ac60b239d99608cdc373e3206456fe58
parent17ff4f6367520fbac7bde0a3021bdef564a2ccc5
bgpd: Vanish FQDN capability hostname/domainname before handling new BGP OPEN

Before this, if the peer disables sending FQDN capability, the old hostname
still (STALE) exists and is misleading in the outputs of `show bgp ...`.

Especially when using with `bgp default show-hostname`, etc.

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