Brian Somers 02a5d63eff Only call rt_getifa() if we've either been passed a gateway or
if we've been given an RTA_IFP or changed RTA_IFA sockaddr.

This fixes the following bug:
  >/dev/tun100
  >/dev/tun101
  ifconfig tun100 1.2.3.4 5.6.7.8
  ifconfig tun101 1.2.3.4 6.7.8.9
  route change 6.7.8.9 -ifa 1.2.3.4 -iface -mtu 500
which erroneously changed tun101's host route to have an ifp of tun100
(rt_getifa() sets the ifp after calling ifa_ifwithnet(1.2.3.4))

This incarnation submitted by:	ru
2001-12-19 16:03:27 +00:00
..
2000-12-27 22:20:13 +00:00
2001-12-14 19:28:06 +00:00
2001-12-14 19:28:06 +00:00
2001-09-26 23:50:17 +00:00
2001-09-26 23:50:17 +00:00
2001-12-14 19:32:47 +00:00
2001-12-14 19:32:47 +00:00
2001-09-12 08:38:13 +00:00
2001-09-12 08:38:13 +00:00
2001-09-12 08:38:13 +00:00
2001-06-11 12:39:29 +00:00
2001-12-14 19:32:47 +00:00
2001-12-14 19:32:47 +00:00
2001-12-14 17:56:12 +00:00
2001-06-11 12:39:29 +00:00
2001-12-14 17:56:12 +00:00
2001-06-11 12:39:29 +00:00
2001-09-12 08:38:13 +00:00
2001-09-12 08:38:13 +00:00
2001-11-28 16:15:52 +00:00