summaryrefslogtreecommitdiffhomepage
path: root/zebra
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-08-25 09:09:57 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-09-06 08:14:14 +0900
commit489aa616f05fcd086bd0c44ff2cc90119572fac6 (patch)
treebd57f90c7d44a99c6bec8b8c02f31bc3a46047a4 /zebra
parent402a478a66571bbab1779f244611b079347c74b3 (diff)
zebra/zapi: Add missing ROUTE_TYPE for PIM
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zapi.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zapi.go b/zebra/zapi.go
index 06b38bf2..6a74ddc3 100644
--- a/zebra/zapi.go
+++ b/zebra/zapi.go
@@ -182,6 +182,7 @@ const (
ROUTE_OSPF6
ROUTE_ISIS
ROUTE_BGP
+ ROUTE_PIM
ROUTE_HSLS
ROUTE_OLSR
ROUTE_BABEL
@@ -199,6 +200,7 @@ var routeTypeValueMap = map[string]ROUTE_TYPE{
"ospf3": ROUTE_OSPF6,
"isis": ROUTE_ISIS,
"bgp": ROUTE_BGP,
+ "pim": ROUTE_PIM,
"hsls": ROUTE_HSLS,
"olsr": ROUTE_OLSR,
"babel": ROUTE_BABEL,