diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-22 07:15:36 +0000 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-27 10:32:42 +0000 |
commit | 6e8d1bb1626996fbaa80b4b0a4322b2bdc27ce6e (patch) | |
tree | 863afb30b80284dbc7184a81ce9d3c12bfbd2f80 /config/serve.go | |
parent | 3075ae5df98c1f6de73fd33ab5900a81cec3845b (diff) |
config: support reload of AdminDown
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'config/serve.go')
-rw-r--r-- | config/serve.go | 2 |
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) } } |