summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-12 10:18:13 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-12 10:18:13 +0900
commit9f54df220808370dd34d0dab802330c2b4bb81d4 (patch)
tree42047ca8d8ee634a4f6ef346b8ba874a0f8bc88a /table
parentff4e5662393e6d1147eed62809e6fe9f4d34b0d8 (diff)
table: fix gracefull restart regression
eor path needs a filter map. Otherwise gobgpd crashes. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table')
-rw-r--r--table/path.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/table/path.go b/table/path.go
index 87ba4212..375ad1af 100644
--- a/table/path.go
+++ b/table/path.go
@@ -99,6 +99,7 @@ func NewEOR(family bgp.RouteFamily) *Path {
nlri: nlri,
eor: true,
},
+ filtered: make(map[string]PolicyDirection),
}
}