View | Details | Raw Unified | Return to bug 233306 | Differences between
and this patch

Collapse All | Expand All

(-)rtsock.c (-1 / +1 lines)
Lines 1555-1561 Link Here
1555
	info.rti_info[RTAX_NETMASK] = rtsock_fix_netmask(rt_key(rt),
1555
	info.rti_info[RTAX_NETMASK] = rtsock_fix_netmask(rt_key(rt),
1556
	    rt_mask(rt), &ss);
1556
	    rt_mask(rt), &ss);
1557
	info.rti_info[RTAX_GENMASK] = 0;
1557
	info.rti_info[RTAX_GENMASK] = 0;
1558
	if (rt->rt_ifp) {
1558
	if (rt->rt_ifp && rt->rt_ifp->if_addr) {
1559
		info.rti_info[RTAX_IFP] = rt->rt_ifp->if_addr->ifa_addr;
1559
		info.rti_info[RTAX_IFP] = rt->rt_ifp->if_addr->ifa_addr;
1560
		info.rti_info[RTAX_IFA] = rt->rt_ifa->ifa_addr;
1560
		info.rti_info[RTAX_IFA] = rt->rt_ifa->ifa_addr;
1561
		if (rt->rt_ifp->if_flags & IFF_POINTOPOINT)
1561
		if (rt->rt_ifp->if_flags & IFF_POINTOPOINT)

Return to bug 233306