]> git.puffer.fish Git - matthieu/frr.git/commitdiff
[ospfd] Default route needs to be refreshed after neighbour state change
authorDaniel Ng <daniel_ng11@lycos.com>
Wed, 13 Aug 2008 19:37:52 +0000 (20:37 +0100)
committerPaul Jakma <paul@quagga.net>
Fri, 22 Aug 2008 18:52:57 +0000 (19:52 +0100)
2008-08-13 Daniel Ng <daniel_ng11@lycos.com>

* ospf_nsm.c: (nsm_change_state) Refresh default route on
  state change - a hack, but it works.

Signed-off-by: Paul Jakma <paul@quagga.net>
ospfd/ospf_nsm.c

index 69bd48ceb206936a09c334a66b7a7f626064e4c6..47b16af73c9e00ff84aeeeb044b74d375e530fbf 100644 (file)
@@ -686,6 +686,11 @@ nsm_change_state (struct ospf_neighbor *nbr, int state)
                continue;
              ospf_external_lsa_refresh_type (oi->ospf, x, force);
            }
+          /* XXX: Clearly some thing is wrong with refresh of external LSAs
+           * this added to hack around defaults not refreshing after a timer
+           * jump.
+           */
+          ospf_external_lsa_refresh_default (oi->ospf);
        }
       else
        {