From d7d93997315472f2f1f40012795e31604db95491 Mon Sep 17 00:00:00 2001 From: gdt Date: Fri, 27 Aug 2004 12:03:42 +0000 Subject: 2004-08-27 David Wiggins * ospf_spf.c (ospf_nexthop_calculation): Initialize address family in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF calculation. --- ospfd/ospf_spf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ospfd/ospf_spf.c') diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c index 5afdf161..bc12c366 100644 --- a/ospfd/ospf_spf.c +++ b/ospfd/ospf_spf.c @@ -424,6 +424,7 @@ ospf_nexthop_calculation (struct ospf_area *area, 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 */ -- cgit v1.2.1