summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-03-14 15:06:55 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-15 00:50:06 -0700
commit0a14294887c8e412c7ba069d5e9f2394e3149953 (patch)
tree545b87615897e33108ed0ee861eeac0b177d1fec
parent4c4bc4670cbae44696e3ddb14d56445dcacb59a8 (diff)
gobgpd: update policyConfig when checked policy difference
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-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
}
}