summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-09-04 14:30:13 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-09-08 13:13:37 +0900
commitd8dc45772cd1a384cb15917bea43cac5d2a04f10 (patch)
tree26a4f2eec14a791546d2bf254626286b6dbe1cd2 /packet/bgp_test.go
parent9298e5eeca78e8bb02ff34b500add622b73b4f5f (diff)
api: kill api.Capability
keep protobuf structures simple Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp_test.go')
-rw-r--r--packet/bgp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp_test.go b/packet/bgp_test.go
index 20664ba0..5b0e462c 100644
--- a/packet/bgp_test.go
+++ b/packet/bgp_test.go
@@ -25,7 +25,7 @@ func open() *BGPMessage {
p1 := NewOptionParameterCapability(
[]ParameterCapabilityInterface{NewCapRouteRefresh()})
p2 := NewOptionParameterCapability(
- []ParameterCapabilityInterface{NewCapMultiProtocol(3, 4)})
+ []ParameterCapabilityInterface{NewCapMultiProtocol(RF_IPv4_UC)})
g := CapGracefulRestartTuples{4, 2, 3}
p3 := NewOptionParameterCapability(
[]ParameterCapabilityInterface{NewCapGracefulRestart(2, 100,