summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp/helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'packet/bgp/helper.go')
-rw-r--r--packet/bgp/helper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp/helper.go b/packet/bgp/helper.go
index 1a06db1e..d97095f9 100644
--- a/packet/bgp/helper.go
+++ b/packet/bgp/helper.go
@@ -31,7 +31,7 @@ func NewTestBGPOpenMessage() *BGPMessage {
p4 := NewOptionParameterCapability(
[]ParameterCapabilityInterface{NewCapFourOctetASNumber(100000)})
p5 := NewOptionParameterCapability(
- []ParameterCapabilityInterface{NewCapAddPath(RF_IPv4_UC, BGP_ADD_PATH_BOTH)})
+ []ParameterCapabilityInterface{NewCapAddPath([]*CapAddPathTuple{NewCapAddPathTuple(RF_IPv4_UC, BGP_ADD_PATH_BOTH)})})
return NewBGPOpenMessage(11033, 303, "100.4.10.3",
[]OptionParameterInterface{p1, p2, p3, p4, p5})
}