diff options
author | Hitoshi Irino <irino@sfc.wide.ad.jp> | 2019-06-02 16:14:19 +0900 |
---|---|---|
committer | Hitoshi Irino <irino@sfc.wide.ad.jp> | 2019-06-02 16:14:19 +0900 |
commit | c3a6d636df37926787fba3d02d63445333e34806 (patch) | |
tree | aab7fd1195671419502e2385802828ecdb375b15 /pkg/server/zclient.go | |
parent | 48f5e25804e14d0239c2b0a2766933de975e29d7 (diff) |
fix bug pointed out by issue #2089
Diffstat (limited to 'pkg/server/zclient.go')
-rw-r--r-- | pkg/server/zclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/zclient.go b/pkg/server/zclient.go index a4b8e378..0cd5c914 100644 --- a/pkg/server/zclient.go +++ b/pkg/server/zclient.go @@ -162,7 +162,7 @@ func newIPRouteBody(dst []*table.Path, vrfId uint32, z *zebraClient) (body *zebr if nhvrfid, ok := z.pathVrfMap[path]; ok { // if the path is withdraw, delete path from pathVrfMap after refer the path nhVrfId = nhvrfid - if isWithdraw { + if path.IsWithdraw { delete(z.pathVrfMap, path) } } else { |