[ospfd] Default route needs to be refreshed after neighbour state change

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>
diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c
index 69bd48c..47b16af 100644
--- a/ospfd/ospf_nsm.c
+++ b/ospfd/ospf_nsm.c
@@ -686,6 +686,11 @@
 		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
 	{