summaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-10-18 22:44:40 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-10-18 22:44:40 +0900
commit2457948919d2ed295904adfd4de61409ed78c7e2 (patch)
tree9dad78440adafff411f5043ce01666d605236c52 /internal
parenta464d93cb35e4acdd7f1cb0e203c9691b040c539 (diff)
need to reset session when gr config is changed
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'internal')
-rw-r--r--internal/pkg/config/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/config/util.go b/internal/pkg/config/util.go
index f85e9376..a1cd2dc7 100644
--- a/internal/pkg/config/util.go
+++ b/internal/pkg/config/util.go
@@ -214,7 +214,7 @@ func isAfiSafiChanged(x, y []AfiSafi) bool {
m[string(e.Config.AfiSafiName)] = x[i]
}
for _, e := range y {
- if v, ok := m[string(e.Config.AfiSafiName)]; !ok || !v.Config.Equal(&e.Config) || !v.AddPaths.Config.Equal(&e.AddPaths.Config) {
+ if v, ok := m[string(e.Config.AfiSafiName)]; !ok || !v.Config.Equal(&e.Config) || !v.AddPaths.Config.Equal(&e.AddPaths.Config) || !v.MpGracefulRestart.Config.Equal(&e.MpGracefulRestart.Config) {
return true
}
}