summaryrefslogtreecommitdiffhomepage
path: root/server/zclient.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 /server/zclient.go
parent89b904b7417932e78c8c6fea2ad5d8a35891b0a4 (diff)
*: kill bgp.NLRInfo and bgp.WithdrawnRoute
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/zclient.go')
-rw-r--r--server/zclient.go2
1 files changed, 1 insertions, 1 deletions
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 {