summaryrefslogtreecommitdiffhomepage
path: root/config/serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/serve.go')
-rw-r--r--config/serve.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/serve.go b/config/serve.go
index 21196433..6f49d0da 100644
--- a/config/serve.go
+++ b/config/serve.go
@@ -86,6 +86,8 @@ func UpdateConfig(curC, newC *BgpConfigSet) ([]Neighbor, []Neighbor, []Neighbor,
if idx := inSlice(n, curC.Neighbors); idx < 0 {
added = append(added, n)
} else if !n.Equal(&curC.Neighbors[idx]) {
+ log.Debug("current neighbor config:", curC.Neighbors[idx])
+ log.Debug("new neighbor config:", n)
updated = append(updated, n)
}
}