]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix unconfigure asdot neighbor 17598/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:43:13 +0000 (09:43 +0200)
commitabaf6c62cff4855d3a7ca0975bd34c3e2d6931a4
tree9dfc9d2948143f2b5b1afc5fb2f10b35baa36ab4
parent32612c3da66393a440b3f436181f629871050c4d
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