From 789772ed4586213d6a7fbb867b9296a01ce1b9c0 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 18 Jun 2009 19:20:07 +0200 Subject: Implements option that changes BGP listening socket parametres. --- conf/conf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/conf.h') diff --git a/conf/conf.h b/conf/conf.h index 17b975b3..ef27f3f4 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 */ -- cgit v1.2.3