diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-03-19 23:36:38 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-07-04 09:53:14 +0900 |
commit | 1d46f58ff1df4d1195091a9f25e74a583801b39d (patch) | |
tree | 6a5cfdaff627edd737b01c892a78fc580c6742a3 /packet/bgp/validate_test.go | |
parent | 0ef496c3159f48df6018031c6079ce3a3b6043f1 (diff) |
packet: support addpath decoding/encoding
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
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) |