]> git.proxmox.com Git - proxmox-firewall.git/commit
fix #5410: config: fix naming scheme for names in firewall config
authorStefan Hanreich <s.hanreich@proxmox.com>
Wed, 24 Apr 2024 16:15:20 +0000 (18:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Apr 2024 17:38:45 +0000 (19:38 +0200)
commitb46ad3eedc5433e651d768ab3c1c5fd3a7df5a5c
tree1bc5e473ae9304e31efd2d0b067121f3a53876b7
parent2bb35160cf06d36209d98dc8e5a9d652bc672ad1
fix #5410: config: fix naming scheme for names in firewall config

This should bring the allowed names on par with the pve-firewall
naming scheme, allowing also underscores together with minus, as long
it isn't the first character [1].

[1] https://git.proxmox.com/?p=pve-firewall.git;a=blob;f=src/PVE/Firewall.pm;h=0abfeccffc94cec940760e69a894e392dc33f151;hb=29b48c381d14bf425232dc65c9c0d18f95c8f222#l51

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
 [ TL: expand commit message slightly ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-ve-config/src/firewall/parse.rs
proxmox-ve-config/src/firewall/types/alias.rs