]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: lxc: fix maximum ID boundary for device passthrough
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Apr 2024 09:13:55 +0000 (11:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Apr 2024 09:13:55 +0000 (11:13 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/lxc/DeviceEdit.js

index 2e886b38ed677fd0e422e774dea6a79bfee4bf64..ab8b645a32016499273ab72fbecec461bb2ffe80 100644 (file)
@@ -40,7 +40,7 @@ Ext.define('PVE.lxc.DeviceInputPanel', {
            name: 'devid',
            fieldLabel: gettext('Passthrough ID'),
            minValue: 0,
-           maxValue: PVE.Utils.dev_count - 1,
+           maxValue: PVE.Utils.lxc_dev_count - 1,
            hidden: true,
            allowBlank: false,
            disabled: true,