[pve-devel] applied: [PATCH common] fix #2368: network: extend infiniband recognition in regex

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Aug 12 11:55:04 CEST 2021


On August 6, 2021 1:07 pm, Lorenz Stechauner wrote:
> Signed-off-by: Lorenz Stechauner <l.stechauner at 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 at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 





More information about the pve-devel mailing list