summaryrefslogtreecommitdiffhomepage
path: root/gobgpd
diff options
context:
space:
mode:
authorEiichiro Watanabe <a16tochjp@gmail.com>2015-05-11 17:36:28 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-05-11 20:54:54 +0900
commit1e006e10d59335775d4a613a3d10a72703b0f6ab (patch)
treea1fe78d5751df8e40017d6e39ff3a43035e9b477 /gobgpd
parent291924a7b278d9f9b3d3da622f4dfd2bdddaa395 (diff)
gobgp: remove verbose variable
Diffstat (limited to 'gobgpd')
-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)
}