summaryrefslogtreecommitdiffhomepage
path: root/bgpd.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-16 16:34:38 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-16 16:34:38 +0900
commit7e1c219ea1640884de6a7548ce2da878e276d78e (patch)
tree2c707d79fb07cc4a5b2691aa613dce0fd14ae040 /bgpd.go
parent3dc69c99b0dcbaa221ae3fd011af8bbb9f04a1d4 (diff)
server: send proper notification when the config is deleted
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'bgpd.go')
-rw-r--r--bgpd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd.go b/bgpd.go
index 64e94363..6188d86a 100644
--- a/bgpd.go
+++ b/bgpd.go
@@ -157,7 +157,7 @@ func main() {
added = newConfig.NeighborList
deleted = []config.NeighborType{}
} else {
- _, added, deleted = config.UpdateConfig(bgpConfig, &newConfig)
+ bgpConfig, added, deleted = config.UpdateConfig(bgpConfig, &newConfig)
}
for _, p := range added {