summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-29 15:34:30 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-29 16:18:26 +0900
commit1462fdb4d240cd956b6c1189ac769be7e7b1bba4 (patch)
tree8cda059a0799b8693fa30b2fdcabd2f7ce78ff5c
parent9de96e573df1b15d6fabc5b901467fea74526714 (diff)
config: fix BGP_ORIGIN_ATTR_TYPE_ values
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-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
)