diff options
Diffstat (limited to 'packet/bgp_test.go')
-rw-r--r-- | packet/bgp_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet/bgp_test.go b/packet/bgp_test.go index 5b0e462c..22db55b2 100644 --- a/packet/bgp_test.go +++ b/packet/bgp_test.go @@ -32,8 +32,10 @@ func open() *BGPMessage { []CapGracefulRestartTuples{g})}) p4 := NewOptionParameterCapability( []ParameterCapabilityInterface{NewCapFourOctetASNumber(100000)}) + p5 := NewOptionParameterCapability( + []ParameterCapabilityInterface{NewCapAddPath(RF_IPv4_UC, BGP_ADD_PATH_BOTH)}) return NewBGPOpenMessage(11033, 303, "100.4.10.3", - []OptionParameterInterface{p1, p2, p3, p4}) + []OptionParameterInterface{p1, p2, p3, p4, p5}) } func update() *BGPMessage { |