summaryrefslogtreecommitdiff
path: root/conf
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
parentda95a7a7dad6ebf572adfb448dfc1a5c8400e6ab (diff)
Replace 'bind' option with 'listen' option.
To be consistent with other daemons.
Diffstat (limited to 'conf')
-rw-r--r--conf/conf.c6
-rw-r--r--conf/conf.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/conf/conf.c b/conf/conf.c
index 710d5c20..eeffd4a8 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)
diff --git a/conf/conf.h b/conf/conf.h
index 8c2d5491..951dde3c 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -22,9 +22,9 @@ struct config {
list logfiles; /* Configured log fils (sysdep) */
struct rtable_config *master_rtc; /* Configuration of master routing table */
u32 router_id; /* Our Router ID */
- ip_addr bind_bgp_addr; /* Listening BGP socket should use this address */
- unsigned bind_bgp_port; /* Listening BGP socket should use this port (0 is default) */
- u32 bind_bgp_flags; /* Listening BGP socket should use these flags */
+ ip_addr listen_bgp_addr; /* Listening BGP socket should use this address */
+ unsigned listen_bgp_port; /* Listening BGP socket should use this port (0 is default) */
+ u32 listen_bgp_flags; /* Listening BGP socket should use these flags */
unsigned int proto_default_debug; /* Default protocol debug mask */
int cli_debug; /* Tracing of CLI connections and commands */
char *err_msg; /* Parser error message */