summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--config/bgp_configs.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index f33fe727..e2ed169d 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -82,8 +82,7 @@ type ExtCommunityAttrType string
type BgpOriginAttrType int
const (
- _ = iota
- BGP_ORIGIN_ATTR_TYPE_IGP
+ BGP_ORIGIN_ATTR_TYPE_IGP = iota
BGP_ORIGIN_ATTR_TYPE_EGP
BGP_ORIGIN_ATTR_TYPE_INCOMPLETE
)