]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: update AS value of a hidden bgp instance
authorAlexander Skorichenko <askorichenko@netgate.com>
Sat, 1 Feb 2025 00:52:17 +0000 (01:52 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 14 Feb 2025 17:08:53 +0000 (18:08 +0100)
commit8e04277fff9597412198da123250e1951bfc580d
treef26ef98584f40439db29d1704f4c7777c3b021d5
parentd9d74d33bca0e23a2cd4723fbc4709dc83fd1332
bgpd: update AS value of a hidden bgp instance

'import vrf VRF' could define a hidden bgp instance with
the default AS_UNSPECIFIED (i.e. = 1) value.
When a
router bgp AS vrf VRF
gets configured later on, replace this AS_UNSPECIFIED setting
with a requested value.

Fixes: 9680831518 ("bgpd: fix as_pretty mem leaks when un-hiding")
Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd/bgpd.c