diff options
Diffstat (limited to 'packet/bgp/validate_test.go')
-rw-r--r-- | packet/bgp/validate_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp/validate_test.go b/packet/bgp/validate_test.go index 225f941d..bcb74809 100644 --- a/packet/bgp/validate_test.go +++ b/packet/bgp/validate_test.go @@ -372,7 +372,7 @@ func Test_Validate_flowspec(t *testing.T) { cmp = append(cmp, NewFlowSpecComponent(FLOW_SPEC_TYPE_FRAGMENT, []*FlowSpecComponentItem{item7})) n1 := NewFlowSpecIPv4Unicast(cmp) a := NewPathAttributeMpReachNLRI("", []AddrPrefixInterface{n1}) - m := map[RouteFamily]bool{RF_FS_IPv4_UC: true} + m := map[RouteFamily]BGPAddPathMode{RF_FS_IPv4_UC: BGP_ADD_PATH_NONE} _, err := ValidateAttribute(a, m, false) assert.Nil(err) |