]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: Do not reset the session when toggling dynamic capability
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 21 Apr 2024 19:29:32 +0000 (22:29 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 21 Apr 2024 19:29:32 +0000 (22:29 +0300)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgpd.c

index 0f97b76b5fbe1c76280e65654f70ecf2576bb087..95d949343c163310e3799aa516bc320f83b51e0b 100644 (file)
@@ -4599,7 +4599,7 @@ static const struct peer_flag_action peer_flag_action_list[] = {
        {PEER_FLAG_DONT_CAPABILITY, 0, peer_change_none},
        {PEER_FLAG_OVERRIDE_CAPABILITY, 0, peer_change_none},
        {PEER_FLAG_STRICT_CAP_MATCH, 0, peer_change_none},
-       {PEER_FLAG_DYNAMIC_CAPABILITY, 0, peer_change_reset},
+       {PEER_FLAG_DYNAMIC_CAPABILITY, 0, peer_change_none},
        {PEER_FLAG_DISABLE_CONNECTED_CHECK, 0, peer_change_reset},
        {PEER_FLAG_CAPABILITY_ENHE, 0, peer_change_reset},
        {PEER_FLAG_ENFORCE_FIRST_AS, 0, peer_change_reset_in},