diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-18 09:21:49 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-18 09:26:00 -0400 |
| commit | d5568431f7d002571568b2f94c0b5150a11d29c8 (patch) | |
| tree | c1a036cf8ed90689c402cf7251a535acb222fa41 /bgpd/bgp_errors.h | |
| parent | cd4ee3395cc0877539e0f0ce4c98125bc4761d4c (diff) | |
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>
Diffstat (limited to 'bgpd/bgp_errors.h')
| -rw-r--r-- | bgpd/bgp_errors.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_errors.h b/bgpd/bgp_errors.h index 39d043ff13..35c5cc3998 100644 --- a/bgpd/bgp_errors.h +++ b/bgpd/bgp_errors.h @@ -67,7 +67,6 @@ enum bgp_log_refs { EC_BGP_EVPN_ROUTE_INVALID, EC_BGP_EVPN_ROUTE_CREATE, EC_BGP_ES_CREATE, - EC_BGP_MULTI_INSTANCE, EC_BGP_EVPN_AS_MISMATCH, EC_BGP_EVPN_INSTANCE_MISMATCH, EC_BGP_FLOWSPEC_PACKET, |
