diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-09-08 10:57:43 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-09-08 13:13:34 +0900 |
commit | 9298e5eeca78e8bb02ff34b500add622b73b4f5f (patch) | |
tree | 857f7646d93ba770527e61edd76dd1838b440249 /packet/validate_test.go | |
parent | 89b904b7417932e78c8c6fea2ad5d8a35891b0a4 (diff) |
*: kill bgp.NLRInfo and bgp.WithdrawnRoute
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'packet/validate_test.go')
-rw-r--r-- | packet/validate_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet/validate_test.go b/packet/validate_test.go index 2f007c44..6309c74d 100644 --- a/packet/validate_test.go +++ b/packet/validate_test.go @@ -18,7 +18,7 @@ func bgpupdate() *BGPMessage { NewPathAttributeNextHop("192.168.1.1"), } - n := []NLRInfo{*NewNLRInfo(24, "10.10.10.0")} + n := []*IPAddrPrefix{NewIPAddrPrefix(24, "10.10.10.0")} return NewBGPUpdateMessage(nil, p, n) } @@ -35,7 +35,7 @@ func bgpupdateV6() *BGPMessage { NewPathAttributeAsPath(aspath), NewPathAttributeMpReachNLRI("1023::", mp_nlri), } - return NewBGPUpdateMessage(nil, p, []NLRInfo{}) + return NewBGPUpdateMessage(nil, p, nil) } func Test_Validate_CapV4(t *testing.T) { |