summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r--gobgpd/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index 04c2b262..05c20555 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -237,6 +237,7 @@ func main() {
if config.CheckPolicyDifference(policyConfig, &newConfig.Policy) {
log.Info("Policy config is updated")
bgpServer.UpdatePolicy(newConfig.Policy)
+ policyConfig = &newConfig.Policy
}
}