networkd: tunnel - allow INADDR_ANY as the local address

This commit is contained in:
Tom Gundersen 2014-12-04 15:55:46 +01:00
parent 9e7e440835
commit 7bdb04298f

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;