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.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'conf/conf.c') diff --git a/conf/conf.c b/conf/conf.c index fefcac5..71e81b5 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) -- cgit v1.2.3