summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-12-08 16:19:38 -0800
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-12-08 16:19:38 -0800
commitc806da563e97da617402ca79b2b1df91cf2bdce5 (patch)
treeee19b34c86c33cea26a27fc9cc7a7455611b1009 /server
parentc704e1eafa6c9e4cd1ebaa7612ed31d2f6a0c0bd (diff)
table: remove useless table owner member
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 ed57b42e..c8764587 100644
--- a/server/server.go
+++ b/server/server.go
@@ -216,7 +216,7 @@ func (server *BgpServer) Serve() {
}(broadcastCh)
rfs, _ := g.AfiSafis.ToRfList()
- server.globalRib = table.NewTableManager(table.GLOBAL_RIB_NAME, rfs, g.MplsLabelRange.MinLabel, g.MplsLabelRange.MaxLabel)
+ server.globalRib = table.NewTableManager(rfs, g.MplsLabelRange.MinLabel, g.MplsLabelRange.MaxLabel)
server.listenerMap = make(map[string]*net.TCPListener)
acceptCh := make(chan *net.TCPConn)
l4, err1 := listenAndAccept("tcp4", server.listenPort, acceptCh)