summaryrefslogtreecommitdiffhomepage
path: root/bgpd.go
diff options
context:
space:
mode:
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 {