]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix unconfigure asdot neighbor
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:40:15 +0000 (09:40 +0200)
commit69c3e672a4e6e3db881c7cf44765c1d9aa94f711
tree7df2c32d8891bbc1f465c53f2be580a0ccfb8fae
parent934b67b1e3a40ab97a71d2d60d3a14fa68476973
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