summaryrefslogtreecommitdiff
path: root/src/shared/path-lookup.c
diff options
context:
space:
mode:
authorGavin Li <git@thegavinli.com>2014-11-24 15:51:31 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-27 00:24:52 -0500
commit59580681f5f950335b5ec40bb4c4a70dca6b2830 (patch)
treeb10899ee0dbb38ea2d261b7f43061d541d1b3d74 /src/shared/path-lookup.c
parentbedd083aaedb3bbb14ef579a047bf4b4fed56d9b (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/shared/path-lookup.c')
0 files changed, 0 insertions, 0 deletions