diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2025-02-12 12:56:49 +0100 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2025-02-24 15:17:05 +0100 |
| commit | d2ff7e8a2117ad4bc38cec0e48c6b3c11dc49c91 (patch) | |
| tree | 99d2e7d5b8ca3248256d37ba973b6f77ce9d6c64 /ospf6d/ospf6_interface.c | |
| parent | 3f290c97e8325bd9db9363b60e4a42ba8bdca90b (diff) | |
bgpd: fix default instance name when un-hiding
When unconfiguring a default BGP instance with VPN SAFI configurations,
the default BGP structure remains but enters a hidden state. Upon
reconfiguration, the instance name incorrectly appears as "VIEW ?"
instead of "VRF default". And the name_pretty pointer
The name_pretty pointer is replaced by another one with the incorrect
name. This also leads to a memory leak as the previous pointer is not
properly freed.
Do not rewrite the instance name.
Fixes: 4d0e7a49cf ("bgpd: VRF-Lite fix default bgp delete")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
0 files changed, 0 insertions, 0 deletions
