From 9298e5eeca78e8bb02ff34b500add622b73b4f5f Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Tue, 8 Sep 2015 10:57:43 +0900 Subject: *: kill bgp.NLRInfo and bgp.WithdrawnRoute Signed-off-by: ISHIDA Wataru --- server/zclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/zclient.go') diff --git a/server/zclient.go b/server/zclient.go index 7a1a2cb5..e1937a6f 100644 --- a/server/zclient.go +++ b/server/zclient.go @@ -115,7 +115,7 @@ func createPathFromIPRouteMessage(m *zebra.Message, peerInfo *table.PeerInfo) *t }).Debugf("create path from ip route message.") if isV4 { - nlri = bgp.NewNLRInfo(body.PrefixLength, body.Prefix.String()) + nlri = bgp.NewIPAddrPrefix(body.PrefixLength, body.Prefix.String()) nexthop := bgp.NewPathAttributeNextHop(body.Nexthops[0].String()) pattr = append(pattr, nexthop) } else { -- cgit v1.2.3