fix #2368: network: extend infiniband recognition in regex

Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>

fixed RE

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit 1981940474)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Lorenz Stechauner 2021-08-06 13:07:11 +02:00 committed by Thomas Lamprecht
parent 5e95f165a6
commit 914c089c29

View File

@ -15,7 +15,7 @@ use Socket qw(NI_NUMERICHOST NI_NUMERICSERV);
# host network related utility functions
our $PHYSICAL_NIC_RE = qr/(?:eth\d+|en[^:.]+|ib\d+)/;
our $PHYSICAL_NIC_RE = qr/(?:eth\d+|en[^:.]+|ib[^:.]+)/;
our $ipv4_reverse_mask = [
'0.0.0.0',