|
@@ -2000,8 +2000,11 @@ static struct rt6_info *ip6_route_info_create(struct fib6_config *cfg)
|
|
It is very good, but in some (rare!) circumstances
|
|
It is very good, but in some (rare!) circumstances
|
|
(SIT, PtP, NBMA NOARP links) it is handy to allow
|
|
(SIT, PtP, NBMA NOARP links) it is handy to allow
|
|
some exceptions. --ANK
|
|
some exceptions. --ANK
|
|
|
|
+ We allow IPv4-mapped nexthops to support RFC4798-type
|
|
|
|
+ addressing
|
|
*/
|
|
*/
|
|
- if (!(gwa_type & IPV6_ADDR_UNICAST))
|
|
|
|
|
|
+ if (!(gwa_type & (IPV6_ADDR_UNICAST |
|
|
|
|
+ IPV6_ADDR_MAPPED)))
|
|
goto out;
|
|
goto out;
|
|
|
|
|
|
if (cfg->fc_table) {
|
|
if (cfg->fc_table) {
|