glebius
060c94f5be
When working on an RTM_CHANGE do the route editing in the following
...
sequence. First, if rt_ifa is going to be changed, then call
ifa_rtrequest(RTM_DELETE). Second, if gateway is going to be changed,
then call rt_setgate(). Third, change rt_ifa.
With this change we are able to change a link level route to a
gateway one, that wasn't possible before:
# ifconfig em0 192.168.22.1/24
# arp -s 192.168.22.99 00:11:22:33:44:55
# route change 192.168.22.99 192.168.22.199
# ping 192.168.22.99
db>
Reported by: avatar
2007-03-22 10:51:03 +00:00
..
2007-03-21 15:36:38 +00:00
2007-03-21 07:49:56 +00:00
2007-03-17 05:30:03 +00:00
2007-03-15 06:42:54 +00:00
2007-03-13 01:50:27 +00:00
2007-03-12 12:16:52 +00:00
2007-03-21 18:25:28 +00:00
2007-03-19 17:52:15 +00:00
2007-03-21 03:42:51 +00:00
2007-01-17 15:05:52 +00:00
2007-03-21 18:40:31 +00:00
2007-03-13 01:50:27 +00:00
2007-03-21 03:42:51 +00:00
2007-03-15 00:09:50 +00:00
2007-02-24 02:28:07 +00:00
2007-03-21 15:36:38 +00:00
2007-03-21 15:36:38 +00:00
2007-03-05 09:10:17 +00:00
2007-03-21 22:22:13 +00:00
2007-03-21 17:37:13 +00:00
2007-03-22 10:51:03 +00:00
2007-03-11 22:37:32 +00:00
2007-02-19 22:40:02 +00:00
2006-11-06 13:42:10 +00:00
2007-03-20 00:36:10 +00:00
2007-03-22 10:37:53 +00:00
2007-03-20 00:36:10 +00:00
2007-03-21 03:42:51 +00:00
2007-02-26 11:55:34 +00:00
2007-01-08 22:30:39 +00:00
2007-02-27 17:23:29 +00:00
2007-02-09 17:22:10 +00:00
2006-11-28 19:33:28 +00:00
2007-01-25 14:33:13 +00:00
2007-03-13 01:50:27 +00:00
2007-03-17 18:18:08 +00:00
2007-03-21 03:43:33 +00:00
2007-03-21 03:38:37 +00:00
2007-03-10 03:10:34 +00:00
2007-03-11 05:54:29 +00:00
2007-03-04 22:36:48 +00:00
2007-03-11 05:54:29 +00:00
2007-03-11 05:54:29 +00:00
2007-03-21 22:22:13 +00:00
2007-03-02 11:42:56 +00:00
2007-03-20 10:51:45 +00:00
2007-03-22 07:02:43 +00:00
2006-11-26 18:27:16 +00:00