]> git.proxmox.com Git - pve-container.git/commitdiff
set minimum mtu to 64
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 1 Oct 2015 08:58:26 +0000 (10:58 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Oct 2015 09:28:48 +0000 (11:28 +0200)
src/PVE/LXC.pm

index 46d826669f74609bec2bf8dcbefa82e202c3eb14..d5d1b154fa62f51b8b667fd4cdbddd5226216ef1 100644 (file)
@@ -277,6 +277,7 @@ my $netconf_desc = {
        type => 'integer',
        format_description => 'Number',
        description => 'Maximum transfer unit of the interface. (lxc.network.mtu)',
+       minimum => 64, # minimum ethernet frame is 64 bytes
        optional => 1,
     },
     ip => {