summaryrefslogtreecommitdiffhomepage
path: root/table/adj.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/adj.go')
-rw-r--r--table/adj.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/adj.go b/table/adj.go
index 9e88e155..77660fab 100644
--- a/table/adj.go
+++ b/table/adj.go
@@ -42,7 +42,7 @@ func NewAdjRib(id string, rfList []bgp.RouteFamily, isCollector bool) *AdjRib {
func (adj *AdjRib) Update(pathList []*Path) {
for _, path := range pathList {
- if path == nil {
+ if path == nil || path.IsEOR() {
continue
}
rf := path.GetRouteFamily()