diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-12-16 17:45:48 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-12-16 17:45:48 +0900 |
commit | bd82fbdeb6250b2e8f4c18f1792a38a7a5109fad (patch) | |
tree | 5b595f157183fe023fd258b63c429005b5b69750 /table/table_manager.go | |
parent | c391a5615462d6b98eecb01b8392b580f76127a3 (diff) |
table: remove CoreService, Neighbors, and Commons structures
No need.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/table_manager.go')
-rw-r--r-- | table/table_manager.go | 4 |
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 |