public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH common] fix #2368: network: extend infiniband recognition in regex
@ 2021-08-06 11:07 Lorenz Stechauner
  2021-08-12  9:55 ` [pve-devel] applied: " Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenz Stechauner @ 2021-08-06 11:07 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
---
 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 bb574e0..c6d3ee1 100644
--- a/src/PVE/Network.pm
+++ b/src/PVE/Network.pm
@@ -16,7 +16,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',
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH common] fix #2368: network: extend infiniband recognition in regex
  2021-08-06 11:07 [pve-devel] [PATCH common] fix #2368: network: extend infiniband recognition in regex Lorenz Stechauner
@ 2021-08-12  9:55 ` Fabian Grünbichler
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Grünbichler @ 2021-08-12  9:55 UTC (permalink / raw)
  To: Proxmox VE development discussion

On August 6, 2021 1:07 pm, Lorenz Stechauner wrote:
> Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
> ---
>  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 bb574e0..c6d3ee1 100644
> --- a/src/PVE/Network.pm
> +++ b/src/PVE/Network.pm
> @@ -16,7 +16,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[^:.]+/);

that ')' moved to the wrong place - I fixed it up when applying, but 
please test your code is syntactically correct / compiles / works as 
expected also for (supposedly :-P) trivial changes ;)

>  
>  our $ipv4_reverse_mask = [
>      '0.0.0.0',
> -- 
> 2.30.2
> 
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-12  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 11:07 [pve-devel] [PATCH common] fix #2368: network: extend infiniband recognition in regex Lorenz Stechauner
2021-08-12  9:55 ` [pve-devel] applied: " Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal