qingli
37efc775b5
Require gateways for routes to be of the same address family as the
...
route itself.
It fixes a bug where an IPv4 route for example has an IPv6 gateway
specified:
route add 10.1.1.1 -inet6 fe80::1%fxp0
Destination Gateway Flags Refs Use Netif Expire
10.1.1.1 fe80::1%fxp0 UGHS 0 0 fxp0
The fix rejects these illegal combinations:
route: writing to routing socket: Invalid argument
add host 10.1.1.1: gateway fe80::1%fxp0: Invalid argument
Reviewed by: KAME jinmei@isl.rdc.toshiba.co.jp
Reviewed by: andre (mentor)
Approved by: re
MFC after: 5
2005-06-28 23:32:22 +00:00
..
2005-06-20 16:52:59 +00:00
2005-06-25 22:14:42 +00:00
2005-06-24 23:57:27 +00:00
2005-06-14 08:49:14 +00:00
2005-05-29 16:11:34 +00:00
2005-06-24 08:09:05 +00:00
2005-04-13 10:59:09 +00:00
2005-06-24 17:41:28 +00:00
2005-06-27 14:33:32 +00:00
2005-06-26 21:00:52 +00:00
2005-03-11 22:07:04 +00:00
2005-04-20 20:52:46 +00:00
2005-06-28 21:56:04 +00:00
2005-06-05 02:09:48 +00:00
2005-03-28 18:31:18 +00:00
2005-05-25 15:54:17 +00:00
2005-06-21 10:11:13 +00:00
2005-06-26 18:11:11 +00:00
2005-06-25 22:14:42 +00:00
2005-06-27 23:51:38 +00:00
2005-06-10 20:56:38 +00:00
2005-04-13 10:59:09 +00:00
2005-06-25 03:34:49 +00:00
2005-05-24 15:38:08 +00:00
2005-06-24 21:43:47 +00:00
2005-06-28 23:32:22 +00:00
2005-06-13 21:01:06 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-27 07:39:13 +00:00
2005-06-27 22:27:42 +00:00
2005-06-20 20:17:00 +00:00
2005-06-02 23:56:10 +00:00
2005-06-10 16:49:24 +00:00
2005-05-13 11:27:48 +00:00
2005-04-25 05:11:19 +00:00
2005-06-16 15:43:17 +00:00
2005-04-17 16:25:36 +00:00
2005-05-30 05:01:44 +00:00
2005-06-21 12:59:53 +00:00
2005-05-10 12:02:18 +00:00
2005-06-26 04:01:11 +00:00
2005-05-04 10:39:15 +00:00
2005-06-20 16:52:59 +00:00
2005-03-19 01:16:25 +00:00
2005-06-10 04:44:38 +00:00
2005-06-20 16:52:59 +00:00
2005-06-28 02:23:56 +00:00
2005-06-09 20:20:31 +00:00
2005-06-09 20:20:31 +00:00
2005-06-26 23:44:07 +00:00
2005-03-08 00:09:41 +00:00