diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-09-08 13:45:02 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-09-08 13:45:02 +0200 |
commit | be862406627da3bd1facea9309b3f32e67422eab (patch) | |
tree | a1463c4feca6145d4a2e36b39c893a7253316b73 /proto/ospf/lsupd.c | |
parent | f9c799a00e705b1420b214628c2bb2a30bf491d9 (diff) |
Temporary OSPFv3 development commit.
Finally, it is working.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r-- | proto/ospf/lsupd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index bccdba82..cb794617 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -627,6 +627,13 @@ ospf_lsupd_receive(struct ospf_packet *ps_i, struct ospf_iface *ifa, lsadb = lsa_install_new(po, &lsatmp, domain, body); DBG("New LSA installed in DB\n"); +#ifdef OSPFv3 + /* Events 6,7 from 4.4.3. */ + if ((lsatmp.type == LSA_T_LINK) && + (ifa->state == OSPF_IS_DR)) + schedule_net_lsa(ifa); +#endif + continue; } |