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
..
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2005-06-26 18:11:11 +00:00
2005-05-28 21:56:41 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-01-07 01:45:51 +00:00
2004-10-05 19:28:52 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-27 21:58:12 +00:00
2005-06-10 16:49:24 +00:00
2005-02-24 13:14:41 +00:00
2005-01-07 01:45:51 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-26 18:11:11 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-26 18:11:11 +00:00
2005-06-10 16:49:24 +00:00
2005-06-28 06:55:45 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-05 03:13:13 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-02-22 13:04:05 +00:00
2005-05-06 02:50:00 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-02-18 22:31:19 +00:00
2005-06-10 16:49:24 +00:00
2005-06-17 17:19:34 +00:00
2005-06-05 03:13:13 +00:00
2005-04-13 08:14:14 +00:00
2005-01-11 07:08:15 +00:00
2004-10-11 20:01:43 +00:00
2005-01-07 01:45:51 +00:00
2005-05-23 17:07:16 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-24 22:56:09 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-06-28 23:32:22 +00:00
2005-01-07 01:45:51 +00:00
2005-06-09 12:20:50 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00