summaryrefslogtreecommitdiffstats
path: root/conf/conf.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-06-18 19:20:07 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-06-18 19:20:07 +0200
commit789772ed4586213d6a7fbb867b9296a01ce1b9c0 (patch)
tree52ba2a4a50a3ddce85a13d219446691edda280d8 /conf/conf.h
parent1b3b3e34ecbc281a13d4ca0b99e891ee9c4d5cac (diff)
downloadbird-789772ed4586213d6a7fbb867b9296a01ce1b9c0.tar
bird-789772ed4586213d6a7fbb867b9296a01ce1b9c0.zip
Implements option that changes BGP listening socket parametres.
Diffstat (limited to 'conf/conf.h')
-rw-r--r--conf/conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/conf.h b/conf/conf.h
index 17b975b..ef27f3f 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -22,6 +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 */
unsigned int proto_default_debug; /* Default protocol debug mask */
int cli_debug; /* Tracing of CLI connections and commands */
char *err_msg; /* Parser error message */