summaryrefslogtreecommitdiffhomepage
path: root/server/fsm_test.go
diff options
context:
space:
mode:
authorWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-11-17 02:06:22 -0500
committerWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-11-17 21:52:20 -0500
commit24e397b0f65b1c5294ea711a953501fda944411d (patch)
tree6a08d7863516465fc1c421cfd20805f2c209f833 /server/fsm_test.go
parenta3e262f3a83fedeeabc5c7820a6d42b54e0325c1 (diff)
add go vet test
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/fsm_test.go')
-rw-r--r--server/fsm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/fsm_test.go b/server/fsm_test.go
index 5e31c67a..0fb67f98 100644
--- a/server/fsm_test.go
+++ b/server/fsm_test.go
@@ -309,7 +309,7 @@ func open() *bgp.BGPMessage {
[]bgp.ParameterCapabilityInterface{bgp.NewCapRouteRefresh()})
p2 := bgp.NewOptionParameterCapability(
[]bgp.ParameterCapabilityInterface{bgp.NewCapMultiProtocol(bgp.RF_IPv4_UC)})
- g := &bgp.CapGracefulRestartTuple{4, 2, 3}
+ g := &bgp.CapGracefulRestartTuple{AFI: 4, SAFI: 2, Flags: 3}
p3 := bgp.NewOptionParameterCapability(
[]bgp.ParameterCapabilityInterface{bgp.NewCapGracefulRestart(true, true, 100,
[]*bgp.CapGracefulRestartTuple{g})})