summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-07-27 14:24:12 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-10-03 23:04:20 +0900
commit202beef425057b0231c45b0b2055ecd4ed503014 (patch)
treecc54f684c848ff0c9644d919704de52e1351aee5
parente559d6f3dd570d17282aa2a7caca935171e5a860 (diff)
cli: Enable to inject MRT with Path Identifier
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
-rw-r--r--gobgp/cmd/mrt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgp/cmd/mrt.go b/gobgp/cmd/mrt.go
index 4ca2a2d0..9a2b777f 100644
--- a/gobgp/cmd/mrt.go
+++ b/gobgp/cmd/mrt.go
@@ -79,7 +79,7 @@ func injectMrt(filename string, count int, skip int, onlyBest bool) error {
case mrt.PEER_INDEX_TABLE:
peers = msg.Body.(*mrt.PeerIndexTable).Peers
continue
- case mrt.RIB_IPV4_UNICAST, mrt.RIB_IPV6_UNICAST:
+ case mrt.RIB_IPV4_UNICAST, mrt.RIB_IPV6_UNICAST, mrt.RIB_IPV4_UNICAST_ADDPATH, mrt.RIB_IPV6_UNICAST_ADDPATH:
case mrt.GEO_PEER_TABLE:
fmt.Printf("WARNING: Skipping GEO_PEER_TABLE: %s", msg.Body.(*mrt.GeoPeerTable))
default: