mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 18:56:26 +00:00
Merge pull request #1607 from ss1h2a3tw/master
adding warning for mtu ignoring
This commit is contained in:
commit
1573a51475
@ -3351,6 +3351,8 @@ int lxc_assign_network(const char *lxcpath, char *lxcname,
|
||||
netdev = iterator->elem;
|
||||
|
||||
if (netdev->type == LXC_NET_VETH && !am_root) {
|
||||
if (netdev->mtu)
|
||||
INFO("mtu ignored due to insufficient privilege");
|
||||
if (unpriv_assign_nic(lxcpath, lxcname, netdev, pid))
|
||||
return -1;
|
||||
// lxc-user-nic has moved the nic to the new ns.
|
||||
|
Loading…
Reference in New Issue
Block a user