2004-08-27 David Wiggins <dwiggins@bbn.com>
* ospf_spf.c (ospf_nexthop_calculation): Initialize address family
in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
calculation.
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c
index 5afdf16..bc12c36 100644
--- a/ospfd/ospf_spf.c
+++ b/ospfd/ospf_spf.c
@@ -424,6 +424,7 @@
if (oi && oi->type == OSPF_IFTYPE_POINTOMULTIPOINT)
{
struct prefix_ipv4 la;
+ la.family = AF_INET;
la.prefixlen = oi->address->prefixlen;
/* We link to them on PtMP interface
- find the interface on w */