summaryrefslogtreecommitdiffhomepage
path: root/table/message_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-09-08 10:57:43 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-09-08 13:13:34 +0900
commit9298e5eeca78e8bb02ff34b500add622b73b4f5f (patch)
tree857f7646d93ba770527e61edd76dd1838b440249 /table/message_test.go
parent89b904b7417932e78c8c6fea2ad5d8a35891b0a4 (diff)
*: kill bgp.NLRInfo and bgp.WithdrawnRoute
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'table/message_test.go')
-rw-r--r--table/message_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/message_test.go b/table/message_test.go
index d72fa833..67a1da87 100644
--- a/table/message_test.go
+++ b/table/message_test.go
@@ -36,8 +36,8 @@ func updateMsg1(as []uint16) *bgp.BGPMessage {
med,
}
- nlri := []bgp.NLRInfo{*bgp.NewNLRInfo(24, "10.10.10.0")}
- return bgp.NewBGPUpdateMessage([]bgp.WithdrawnRoute{}, pathAttributes, nlri)
+ nlri := []*bgp.IPAddrPrefix{bgp.NewIPAddrPrefix(24, "10.10.10.0")}
+ return bgp.NewBGPUpdateMessage(nil, pathAttributes, nlri)
}
func TestAsPathAsTrans(t *testing.T) {