summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/server.go
diff options
context:
space:
mode:
authorHitoshi Irino <irino@sfc.wide.ad.jp>2020-04-25 22:06:21 +0900
committerHitoshi Irino <irino@sfc.wide.ad.jp>2020-04-26 07:43:50 +0900
commitcf572bc5fc4647ea675c8a3482d80d181f62c66c (patch)
treeb50bc6a682c801062ffe19a198b05ddc743a84ee /pkg/server/server.go
parentf11b9c7afb198dd6bfea9a167f41a62569f24756 (diff)
Refactoring Zebra and supporting frr7.3
- Change const values to camel case from snake case to make zero golint's warnigns - Introduce convert functions (toEach, toCommon) between the newest version to older versions - Merge code about decode nexthop to reduce lines of code - Add frr7.3 statemet in allowable software for config - Rename and Update generated file by stringer
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r--pkg/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go
index a2c3dfbd..2ee49ec8 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -710,7 +710,7 @@ func (s *BgpServer) setPathVrfIdMap(paths []*table.Path, m map[uint32]bool) {
}
}
default:
- m[zebra.VRF_DEFAULT] = true
+ m[zebra.DefaultVrf] = true
}
}
}