1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Implements option that changes BGP listening socket parametres.

This commit is contained in:
Ondrej Zajicek
2009-06-18 19:20:07 +02:00
parent 1b3b3e34ec
commit 789772ed45
6 changed files with 48 additions and 5 deletions

View File

@@ -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)