]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Move some error codes to bgp_vty_return handling
authorDonald Sharp <sharpd@nvidia.com>
Tue, 15 Feb 2022 21:04:50 +0000 (16:04 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 15 Feb 2022 21:38:32 +0000 (16:38 -0500)
commit6dcea6fe05f38d8542edd7b06d301d237e0c028a
tree15ed882e32ae6f5555261ff881a278e98d5ebe0d
parent8b4a0b6631c9484a8925a7279b7a111c3e340de1
bgpd: Move some error codes to bgp_vty_return handling

BGP_ERR_PEER_GROUP_MEMBER and BGP_ERR_PEER_GROUP_PEER_TYPE_DIFFERENT
both are not handled by bgp_vty_return, but both can be handled by
this function as that there is nothing special going on here.

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