diff options
author | Gavin Li <git@thegavinli.com> | 2014-11-24 15:51:31 -0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-11-27 00:24:52 -0500 |
commit | 59580681f5f950335b5ec40bb4c4a70dca6b2830 (patch) | |
tree | b10899ee0dbb38ea2d261b7f43061d541d1b3d74 /src/test | |
parent | bedd083aaedb3bbb14ef579a047bf4b4fed56d9b (diff) |
networkd: route - allow routes without a gateway
For IPv6, the kernel returns EINVAL if a route is added with the
RTA_GATEWAY attribute set to in6addr_any (::). A route without a
gateway is useful in some situations, such as layer 3 tunneling
(sit, gre, etc.).
This patch prevents the RTA_GATEWAY attribute from being added
when route.in_addr is ip6addr_any (::).
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions