summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gobgpd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index d2aee38a..62503d50 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -167,7 +167,7 @@ func main() {
policyConfig = &newConfig.Policy
bgpServer.SetPolicy(newConfig.Policy)
} else {
- if res := config.CheckPolicyDifference(policyConfig, &newConfig.Policy); res {
+ if config.CheckPolicyDifference(policyConfig, &newConfig.Policy) {
log.Info("Policy config is updated")
bgpServer.UpdatePolicy(newConfig.Policy)
}