diff options
Diffstat (limited to 'table/adj.go')
-rw-r--r-- | table/adj.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/adj.go b/table/adj.go index 05a795be..98c714e6 100644 --- a/table/adj.go +++ b/table/adj.go @@ -178,7 +178,7 @@ func (adj *AdjRib) Select(family bgp.RouteFamily, accepted bool, option ...Table if d, y := dsts[path.GetNlri().String()]; y { d.knownPathList = append(d.knownPathList, path) } else { - dst := NewDestination(path.GetNlri()) + dst := NewDestination(path.GetNlri(), 0) dsts[path.GetNlri().String()] = dst dst.knownPathList = append(dst.knownPathList, path) } |