diff options
Diffstat (limited to 'table/adj.go')
-rw-r--r-- | table/adj.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/table/adj.go b/table/adj.go index 5ef540f6..05a795be 100644 --- a/table/adj.go +++ b/table/adj.go @@ -17,6 +17,7 @@ package table import ( "fmt" + "github.com/osrg/gobgp/packet/bgp" ) @@ -44,7 +45,7 @@ func (adj *AdjRib) Update(pathList []*Path) { continue } rf := path.GetRouteFamily() - key := path.getPrefix() + key := fmt.Sprintf("%d:%s", path.GetNlri().PathIdentifier(), path.getPrefix()) old, found := adj.table[rf][key] if path.IsWithdraw { |