diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-03-05 05:44:25 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-03-05 06:10:30 +0900 |
commit | 3c5b07a6c81b11a60a7e475fc8a9e60bf14e390e (patch) | |
tree | d852adbb15f42042ca5da5c60ed9c49b540ea2d8 /server/server.go | |
parent | d104f1ec8fa852bc990826c1333f2b9dc4c81e8d (diff) |
server: avoid sending withdraw to peer just sent withdraw
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index c665e627..366ce40b 100644 --- a/server/server.go +++ b/server/server.go @@ -400,7 +400,7 @@ func filterpath(peer *Peer, path, old *table.Path) *table.Path { // the withdrawal path. // Thing is same when peer A and we advertized prefix P (as local // route), then, we withdraws the prefix. - if old != nil { + if path.IsWithdraw == false && old != nil { return old.Clone(true) } } |