From 0a14294887c8e412c7ba069d5e9f2394e3149953 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Mon, 14 Mar 2016 15:06:55 +0900 Subject: gobgpd: update policyConfig when checked policy difference Signed-off-by: ISHIDA Wataru --- gobgpd/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'gobgpd') 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 } } -- cgit v1.2.3