From 24e397b0f65b1c5294ea711a953501fda944411d Mon Sep 17 00:00:00 2001 From: Wataru Ishida Date: Thu, 17 Nov 2016 02:06:22 -0500 Subject: add go vet test Signed-off-by: Wataru Ishida --- server/fsm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/fsm_test.go') 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})}) -- cgit v1.2.3