summaryrefslogtreecommitdiff
path: root/conf/conf.c
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.c
parent1b3b3e34ecbc281a13d4ca0b99e891ee9c4d5cac (diff)
Implements option that changes BGP listening socket parametres.
Diffstat (limited to 'conf/conf.c')
-rw-r--r--conf/conf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/conf.c b/conf/conf.c
index fefcac51..71e81b5c 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -175,6 +175,12 @@ 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))
+ log(L_WARN "Reconfiguration of BGP listening socket not implemented, please restart BIRD.");
+
if (!new->router_id)
new->router_id = old->router_id;
if (new->router_id != old->router_id)