diff options
Diffstat (limited to 'packet/bgp/helper.go')
-rw-r--r-- | packet/bgp/helper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp/helper.go b/packet/bgp/helper.go index 851332fd..3b152628 100644 --- a/packet/bgp/helper.go +++ b/packet/bgp/helper.go @@ -67,7 +67,7 @@ func NewTestBGPUpdateMessage() *BGPMessage { NewIPv4AddressSpecificExtended(EC_SUBTYPE_ROUTE_TARGET, "192.2.1.2", 3000, isTransitive), NewOpaqueExtended(false, []byte{1, 2, 3, 4, 5, 6, 7}), NewValidationExtended(VALIDATION_STATE_INVALID), - &UnknownExtended{Type: 99, Value: []byte{0, 1, 2, 3, 4, 5, 6, 7}}, + NewUnknownExtended(99, []byte{0, 1, 2, 3, 4, 5, 6, 7}), NewESILabelExtended(1000, true), NewESImportRouteTarget("11:22:33:44:55:66"), NewMacMobilityExtended(123, false), |