diff options
Diffstat (limited to 'table/table.go')
-rw-r--r-- | table/table.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/table/table.go b/table/table.go index 6e423808..01bf6349 100644 --- a/table/table.go +++ b/table/table.go @@ -217,10 +217,7 @@ func (t *Table) getOrCreateDest(nlri bgp.AddrPrefixInterface) *Destination { "Topic": "Table", "Key": tableKey, }).Debugf("create Destination") - dest = NewDestination(nlri) - dest.localIdMap = NewBitmap(2048) - // the id zero means id is not allocated yet. - dest.localIdMap.Flag(0) + dest = NewDestination(nlri, 64) t.setDestination(tableKey, dest) } return dest |