networkd: tunnel - allow INADDR_ANY as the local address

This commit is contained in:
Tom Gundersen
2014-12-04 16:02:05 +01:00
parent 9e7e440835
commit 7bdb04298f
-5
View File
@@ -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;