]> git.proxmox.com Git - pve-container.git/commit
better parsing for lxc networking mtu setting
authorDaniel Tschlatscher <d.tschlatscher@proxmox.com>
Thu, 3 Nov 2022 15:38:10 +0000 (16:38 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Nov 2022 19:00:07 +0000 (20:00 +0100)
commit5fbd58cba8df1a0633f362728ddf8c1a0284fe33
tree93bfe35b67a73b43649a15ff0b598ce780c55ea8
parent1eaaedfe8d6c6efabc64773faf4361bdb68ee632
better parsing for lxc networking mtu setting

This patch reworks some mtu settings for LXC containers in the backend
Namely, introducing an absolute maximum for the MTU field of 65535 and
asserting that the MTU setting isn't bigger than the bridge's MTU size

Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
src/PVE/LXC.pm
src/PVE/LXC/Config.pm