]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix unconfigure asdot neighbor 17597/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 4 Dec 2024 20:25:33 +0000 (21:25 +0100)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 5 Dec 2024 07:41:40 +0000 (09:41 +0200)
commit69417fd82c8857922334543bf573867db5b9eb0b
tree526535b92882f8b8a9a8c8d6ee11ff833c4724d4
parent1d8c0479253abf8d1bc622dbc9b177b5cad4d52b
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