summaryrefslogtreecommitdiffhomepage
path: root/server/zclient.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-09-24 10:06:19 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-09-25 18:20:13 +0900
commitfbed186687489efd7295a44d991590c1ffe27853 (patch)
treec23393ca0524c0ad3b8c797bc6f1837642ac114b /server/zclient.go
parentca96672dc69d426bfcc94ca6d966e2bba556bdd1 (diff)
zebra: enable implicit withdrawal
we don't have to disable implicit withdrawal for routes from zebra 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 e1937a6f..419942de 100644
--- a/server/zclient.go
+++ b/server/zclient.go
@@ -127,7 +127,7 @@ func createPathFromIPRouteMessage(m *zebra.Message, peerInfo *table.PeerInfo) *t
med := bgp.NewPathAttributeMultiExitDisc(body.Metric)
pattr = append(pattr, med)
- p := table.NewPath(peerInfo, nlri, isWithdraw, pattr, false, time.Now(), true)
+ p := table.NewPath(peerInfo, nlri, isWithdraw, pattr, false, time.Now(), false)
p.IsFromZebra = true
return p
}