diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-01-13 00:55:04 -0500 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-01-15 06:41:36 -0800 |
commit | d44f6915cadd705b9a046f029510e2fff8f054c0 (patch) | |
tree | a75ead89038db616dc3505fe23e4053e6a540691 | |
parent | 232eb9cb650b1e8b372004ac4046d88d202e85f1 (diff) |
cli: fix bug of injecting mrt table dump v2 data
a bug introduced by c4ced97e76f12d5c37721c107e61147edb4254d7
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
-rw-r--r-- | gobgp/cmd/mrt.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gobgp/cmd/mrt.go b/gobgp/cmd/mrt.go index 67703682..254928a9 100644 --- a/gobgp/cmd/mrt.go +++ b/gobgp/cmd/mrt.go @@ -79,6 +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: default: exitWithError(fmt.Errorf("unsupported subType: %v", subType)) } |