]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: When deleting a neighbor from a peer-group the PGNAME is optional
authorDonald Sharp <sharpd@nvidia.com>
Thu, 11 Feb 2021 18:35:22 +0000 (13:35 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 11 Feb 2021 18:35:22 +0000 (13:35 -0500)
commit2cbd181ac99801f2fb6b5b820ad66626c0f7168a
tree9dc5dc9ce0b1af3fb69d6467903b596fe8ff8526
parentf43e9ec02fab4624a39a4ff48257c43d5dc0904b
bgpd: When deleting a neighbor from a peer-group the PGNAME is optional

Currently when deleting a neighbor from a peer-group:
no neighbor A.B.C.D peer-group FOO

We must specify FOO, while A.B.C.D is sufficient enough of an
identifier to know what to do.

Make PGNAME optional on this command and just delete the peer.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_vty.c