]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix unconfigure asdot neighbor 17582/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 4 Dec 2024 20:25:33 +0000 (21:25 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 4 Dec 2024 20:29:34 +0000 (21:29 +0100)
commit12a9ca4de6c781b061cccdf3e793346e23558901
treef29349435a1fc132b7179505edfbe0a4f43b6a39
parent6bf42834218d2f89959c998c0d6ce6ab9b722557
bgpd: fix unconfigure asdot neighbor

The below command is not successfull on an existing as dot peer

> no neighbor 10.0.0.2 remote-as 1.1
> % Create the peer-group or interface first

Handle the case where the remote-as argument can be an ASNUM.

Fixes: 8079a4138d61 ("lib, bgp: add initial support for asdot format")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_vty.c