diff options
author | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2016-02-26 19:55:28 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-02-27 03:47:00 -0800 |
commit | a53d1945056b6c43c1de5dcaafc5ef92fcd33614 (patch) | |
tree | 318edb562c31ec11708fea1282cb8cded6ea870d /server/zclient.go | |
parent | b334dd4185bc91afd405ba326a03c09cfe9a9623 (diff) |
ops: fix and integration the attribute name that indicates the route received from an external resource
Diffstat (limited to 'server/zclient.go')
-rw-r--r-- | server/zclient.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/zclient.go b/server/zclient.go index a6427781..6cf0af4f 100644 --- a/server/zclient.go +++ b/server/zclient.go @@ -127,8 +127,8 @@ 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, time.Now(), false, false) - p.SetIsFromZebra(true) + p := table.NewPath(peerInfo, nlri, isWithdraw, pattr, time.Now(), false) + p.SetIsFromExternal(true) return p } |