summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-tunnel.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-12-04 15:55:46 +0100
committerTom Gundersen <teg@jklm.no>2014-12-04 16:02:05 +0100
commit7bdb04298fd8b3de7adf2e0e547ef7dd953b809e (patch)
tree9f49cb44f3d19c759bd28f2815a02a952fd6276d /src/network/networkd-netdev-tunnel.c
parent9e7e440835c43d81ffdbc299d2c07daaa641ed50 (diff)
networkd: tunnel - allow INADDR_ANY as the local address
Diffstat (limited to 'src/network/networkd-netdev-tunnel.c')
-rw-r--r--src/network/networkd-netdev-tunnel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c
index 980c70ef55..31d34644ed 100644
--- a/src/network/networkd-netdev-tunnel.c
+++ b/src/network/networkd-netdev-tunnel.c
@@ -262,11 +262,6 @@ static int netdev_tunnel_verify(NetDev *netdev, const char *filename) {
assert(t);
- if (t->local.in.s_addr == INADDR_ANY) {
- log_warning("Tunnel without local address configured in %s. Ignoring", filename);
- return -EINVAL;
- }
-
if (t->remote.in.s_addr == INADDR_ANY) {
log_warning("Tunnel without remote address configured in %s. Ignoring", filename);
return -EINVAL;