diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-03-14 15:06:55 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-03-15 00:50:06 -0700 |
commit | 0a14294887c8e412c7ba069d5e9f2394e3149953 (patch) | |
tree | 545b87615897e33108ed0ee861eeac0b177d1fec | |
parent | 4c4bc4670cbae44696e3ddb14d56445dcacb59a8 (diff) |
gobgpd: update policyConfig when checked policy difference
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r-- | gobgpd/main.go | 1 |
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 } } |