[pve-devel] [PATCH pve-network 3/7] retrict vnet name to 8 characters
Alexandre DERUMIER
aderumier at odiso.com
Tue May 19 17:51:11 CEST 2020
damn, sorry
----- Mail original -----
De: "Thomas Lamprecht" <t.lamprecht at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>, "aderumier" <aderumier at odiso.com>
Envoyé: Mardi 19 Mai 2020 16:43:59
Objet: Re: [pve-devel] [PATCH pve-network 3/7] retrict vnet name to 8 characters
On 5/19/20 3:48 PM, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
> PVE/Network/SDN/VnetPlugin.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/PVE/Network/SDN/VnetPlugin.pm b/PVE/Network/SDN/VnetPlugin.pm
> index b0280fc..169f694 100644
> --- a/PVE/Network/SDN/VnetPlugin.pm
> +++ b/PVE/Network/SDN/VnetPlugin.pm
> @@ -24,7 +24,7 @@ sub parse_sdn_vnet_id {
> return undef if $noerr;
> die "vnet ID '$id' contains illegal characters\n";
> }
> - die "vnet ID '$id' can't be more length than 10 characters\n" if length($id) > 10;
> + die "vnet ID '$id' can't be more length than 8 characters\n" if length($id) > 10;
While the message was adapted the actual check wasn't ;)
> return $id;
> }
>
>
More information about the pve-devel
mailing list