network: tunnel: create tunnels with AssignToLoopback=yes independently of .network file
This commit is contained in:
@@ -642,6 +642,9 @@ static int netdev_tunnel_verify(NetDev *netdev, const char *filename) {
|
||||
if (netdev->kind == NETDEV_KIND_VTI)
|
||||
t->family = AF_INET;
|
||||
|
||||
if (t->assign_to_loopback)
|
||||
t->independent = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user