summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-10-07 22:10:29 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-10-07 22:10:29 +0200
commitd82fc18d75e4ebf615657cb5d98f000c728b13e4 (patch)
treef2629862f96c5e5ad82a40a292f88b3e5c0b671e /proto/ospf/ospf.c
parent9f0ba7b1c7a0754c473b8ab202f572c9c8363285 (diff)
downloadbird-d82fc18d75e4ebf615657cb5d98f000c728b13e4.tar
bird-d82fc18d75e4ebf615657cb5d98f000c728b13e4.zip
Implement proper LSA ID generation.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index dafb607..0c4d673 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -605,7 +605,9 @@ ospf_reconfigure(struct proto *p, struct proto_config *c)
struct area_net_config *anc;
struct area_net *an;
- po->rfc1583 = new->rfc1583;
+ if (po->rfc1583 != new->rfc1583)
+ return 0;
+
schedule_rtcalc(po);
po->tick = new->tick;