diff options
author | Sri Mohana Singamsetty <srimohans@gmail.com> | 2020-03-30 04:52:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 04:52:41 +0200 |
commit | a326a812b30e5c11b9d67f9a9434342a9cf6008e (patch) | |
tree | 1b10bb04205aba142398c415f591929607f662c9 /bgpd/bgp_vty.c | |
parent | Merge pull request #6104 from donaldsharp/bgp_rr_fixup (diff) | |
parent | bgpd: Unset PEER_FLAG_MAX_PREFIX_OUT for `no neighbor maximum-prefix-out` (diff) | |
download | frr-a326a812b30e5c11b9d67f9a9434342a9cf6008e.tar.xz frr-a326a812b30e5c11b9d67f9a9434342a9cf6008e.zip |
Merge pull request #6107 from ton31337/fix/unset_prefix_out_flag
bgpd: Unset PEER_FLAG_MAX_PREFIX_OUT for `no neighbor maximum-prefix-…
Diffstat (limited to 'bgpd/bgp_vty.c')
-rw-r--r-- | bgpd/bgp_vty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 9fd73fba1..aea6dbbf4 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -6590,6 +6590,7 @@ DEFUN(no_neighbor_maximum_prefix_out, if (!peer) return CMD_WARNING_CONFIG_FAILED; + UNSET_FLAG(peer->af_flags[afi][safi], PEER_FLAG_MAX_PREFIX_OUT); peer->pmax_out[afi][safi] = 0; return CMD_SUCCESS; |