summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_errors.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-18 15:21:49 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-18 15:26:00 +0200
commitd5568431f7d002571568b2f94c0b5150a11d29c8 (patch)
treec1a036cf8ed90689c402cf7251a535acb222fa41 /bgpd/bgp_errors.h
parentMerge pull request #4530 from donaldsharp/pim_debugs (diff)
downloadfrr-d5568431f7d002571568b2f94c0b5150a11d29c8.tar.xz
frr-d5568431f7d002571568b2f94c0b5150a11d29c8.zip
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_errors.h b/bgpd/bgp_errors.h
index 39d043ff1..35c5cc399 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,