summaryrefslogtreecommitdiffstats
path: root/conf/conf.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-06-23 11:08:30 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-06-23 11:08:30 +0200
commitd72cdff411d0bf4ddecaea5d0fc6d4341b4cb3f1 (patch)
tree809ffc879dfe0e137204571524a3a9a31a2363dd /conf/conf.c
parentda95a7a7dad6ebf572adfb448dfc1a5c8400e6ab (diff)
downloadbird-d72cdff411d0bf4ddecaea5d0fc6d4341b4cb3f1.tar
bird-d72cdff411d0bf4ddecaea5d0fc6d4341b4cb3f1.zip
Replace 'bind' option with 'listen' option.
To be consistent with other daemons.
Diffstat (limited to 'conf/conf.c')
-rw-r--r--conf/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/conf.c b/conf/conf.c
index 710d5c2..eeffd4a 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -176,9 +176,9 @@ global_commit(struct config *new, struct config *old)
if (!old)
return 0;
- if (!ipa_equal(old->bind_bgp_addr, new->bind_bgp_addr) ||
- (old->bind_bgp_port != new->bind_bgp_port) ||
- (old->bind_bgp_flags != new->bind_bgp_flags))
+ if (!ipa_equal(old->listen_bgp_addr, new->listen_bgp_addr) ||
+ (old->listen_bgp_port != new->listen_bgp_port) ||
+ (old->listen_bgp_flags != new->listen_bgp_flags))
log(L_WARN "Reconfiguration of BGP listening socket not implemented, please restart BIRD.");
if (!new->router_id)