From 914c089c29465068123c63dfdc1c9f46a7913e45 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Fri, 6 Aug 2021 13:07:11 +0200 Subject: [PATCH] fix #2368: network: extend infiniband recognition in regex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lorenz Stechauner fixed RE Signed-off-by: Fabian Grünbichler (cherry picked from commit 19819404745cfbc04c2609d91848a67b91a80224) Signed-off-by: Thomas Lamprecht --- src/PVE/Network.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/Network.pm b/src/PVE/Network.pm index 2d63a45..161f1c2 100644 --- a/src/PVE/Network.pm +++ b/src/PVE/Network.pm @@ -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',