]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: BGP_ERR_MULTIPLE_INSTANCE_NOT_SET is an impossible condition
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 18 Jun 2019 13:21:49 +0000 (09:21 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 18 Jun 2019 13:26:00 +0000 (09:26 -0400)
commitd5568431f7d002571568b2f94c0b5150a11d29c8
treec1a036cf8ed90689c402cf7251a535acb222fa41
parentcd4ee3395cc0877539e0f0ce4c98125bc4761d4c
bgpd: BGP_ERR_MULTIPLE_INSTANCE_NOT_SET is an impossible condition

This code is not returned anywhere in the system as that bgp
is by default multiple-instance 'only' now.  So remove
the last remaining bits of it from the code base.

Remove BGP_ERR_MULTIPLE_INSTANCE_USED too.

Make bgp_get explicitly return BGP_SUCCESS
instead of 0.

Remove the multi-instance error code too.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_errors.c
bgpd/bgp_errors.h
bgpd/bgp_evpn.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h