diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-10-20 21:25:03 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-10-26 07:02:54 +0900 |
commit | 2e05695f683430bdf39573b19f51bac4dcbbc693 (patch) | |
tree | 3f80939fb737832dbf8f8f5ebe0b35e0e9900718 /internal/pkg/config | |
parent | b4e2d9e440a4eb6d3091a7c586d2e55b69ec968a (diff) |
avoid installing routes with originator ID to global when softresetin
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'internal/pkg/config')
-rw-r--r-- | internal/pkg/config/util.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/pkg/config/util.go b/internal/pkg/config/util.go index 228c9e3d..522129a3 100644 --- a/internal/pkg/config/util.go +++ b/internal/pkg/config/util.go @@ -225,6 +225,7 @@ func (n *Neighbor) NeedsResendOpenMessage(new *Neighbor) bool { return !n.Config.Equal(&new.Config) || !n.Transport.Config.Equal(&new.Transport.Config) || !n.AddPaths.Config.Equal(&new.AddPaths.Config) || + !n.AsPathOptions.Config.Equal(&new.AsPathOptions.Config) || !n.GracefulRestart.Config.Equal(&new.GracefulRestart.Config) || isAfiSafiChanged(n.AfiSafis, new.AfiSafis) } |