]> git.puffer.fish Git - mirror/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>
Mon, 24 Feb 2025 14:17:05 +0000 (15:17 +0100)
commit1515a59202280933936b41c4cb2cb11c7889b279
tree329b02c308fb3089d1d5b1a702be5d5ea6988340
parent339206341fa08c57316559eb3733d216236dfe9d
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