View | Details | Raw Unified | Return to bug 179829
Collapse All | Expand All

(-)sys/net/route.c (+8 lines)
Lines 1629-1634 Link Here
1629
		info.rti_flags = flags |
1629
		info.rti_flags = flags |
1630
		    (ifa->ifa_flags & ~IFA_RTSELF) | RTF_PINNED;
1630
		    (ifa->ifa_flags & ~IFA_RTSELF) | RTF_PINNED;
1631
		info.rti_info[RTAX_DST] = dst;
1631
		info.rti_info[RTAX_DST] = dst;
1632
		/*
1633
		 * Some point-to-point links need to be able to modify
1634
		 * the route when the link comes up (e.g. peer is an
1635
		 * unnumbered interface on the same network).
1636
		 */
1637
		if ((ifa->ifa_ifp->if_flags & IFF_POINTOPOINT)
1638
		    && (flags & RTF_HOST))
1639
			info.rti_flags &= ~RTF_PINNED;
1632
		/* 
1640
		/* 
1633
		 * doing this for compatibility reasons
1641
		 * doing this for compatibility reasons
1634
		 */
1642
		 */

Return to bug 179829