summaryrefslogtreecommitdiffhomepage
path: root/table/table_manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/table_manager.go')
-rw-r--r--table/table_manager.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/table_manager.go b/table/table_manager.go
index 081b19c4..63c4a60c 100644
--- a/table/table_manager.go
+++ b/table/table_manager.go
@@ -148,8 +148,8 @@ type ProcessMessage struct {
func NewTableManager() *TableManager {
t := &TableManager{}
t.Tables = make(map[RouteFamily]Table)
- t.Tables[RF_IPv4_UC] = NewIPv4Table(0, nil)
- t.Tables[RF_IPv6_UC] = NewIPv6Table(0, nil)
+ t.Tables[RF_IPv4_UC] = NewIPv4Table(0)
+ t.Tables[RF_IPv6_UC] = NewIPv6Table(0)
// initialize prefix counter
t.Counter = make(map[PeerCounterName]int)
t.Counter[RECV_PREFIXES] = 0