]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: parser: recognize e1000e as network card
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 26 Mar 2024 10:18:09 +0000 (11:18 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 26 Mar 2024 10:18:12 +0000 (11:18 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
www/manager6/Parser.js

index debf9d23efa36c0d39641dab4d8999a2eec57a3b..77b2b2fc6eab9080835072c3547f99a379a3ddc0 100644 (file)
@@ -114,7 +114,7 @@ Ext.define('PVE.Parser', {
 
            let match_res;
 
-           if ((match_res = p.match(/^(ne2k_pci|e1000|e1000-82540em|e1000-82544gc|e1000-82545em|vmxnet3|rtl8139|pcnet|virtio|ne2k_isa|i82551|i82557b|i82559er)(=([0-9a-f]{2}(:[0-9a-f]{2}){5}))?$/i)) !== null) {
+           if ((match_res = p.match(/^(ne2k_pci|e1000e?|e1000-82540em|e1000-82544gc|e1000-82545em|vmxnet3|rtl8139|pcnet|virtio|ne2k_isa|i82551|i82557b|i82559er)(=([0-9a-f]{2}(:[0-9a-f]{2}){5}))?$/i)) !== null) {
                res.model = match_res[1].toLowerCase();
                if (match_res[3]) {
                    res.macaddr = match_res[3];