mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
networkd: tunnel - allow INADDR_ANY as the local address
This commit is contained in:
parent
9e7e440835
commit
7bdb04298f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user