summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-10-12 23:31:42 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-10-12 23:31:42 +0200
commit4cdd078453d585ac97a183ea1f3951d85f1b8784 (patch)
tree0379c01489f48ac7686d9c1cfdb139add00f6c05 /nest/proto.c
parent52b9b2a1786140c38af03de570b0cc96c835c1d3 (diff)
Implements protocol-specific router id and updates documentation.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index d0792134..7bb1286d 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -313,6 +313,7 @@ protos_commit(struct config *new, struct config *old, int force_reconfig, int ty
&& nc->preference == oc->preference
&& nc->disabled == oc->disabled
&& nc->table->table == oc->table->table
+ && proto_get_router_id(nc) == proto_get_router_id(oc)
&& ((type == RECONFIG_SOFT) || filter_same(nc->in_filter, oc->in_filter))
&& ((type == RECONFIG_SOFT) || filter_same(nc->out_filter, oc->out_filter))
&& p->proto_state != PS_DOWN)