summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-02 00:03:41 -0700
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-03 02:49:59 -0700
commitbe9918a163a20a7a885dc9206a733d983ee76b3a (patch)
treec73975d94321a1a02429fb6ad0d3e0373c3f4813 /server
parentc7653aa9d4276098a7a6b5ade5ffce5bf5d089e8 (diff)
remove label allocation completely
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index 754834e7..8e26a45b 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1227,7 +1227,7 @@ func (s *BgpServer) Start(c *config.Global) (err error) {
}
rfs, _ := config.AfiSafis(c.AfiSafis).ToRfList()
- s.globalRib = table.NewTableManager(rfs, c.MplsLabelRange.MinLabel, c.MplsLabelRange.MaxLabel)
+ s.globalRib = table.NewTableManager(rfs)
if err = s.policy.Reset(&config.RoutingPolicy{}, map[string]config.ApplyPolicy{}); err != nil {
return