mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
zoneconf.cgi: Fix VLAN tag range check
Use the correct VLAN tag range 1-4094 and add an error message to the range check. The missing error message was discovered by Jonatan. Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
c5977469be
commit
715aa887b6
@@ -3037,6 +3037,7 @@
|
||||
'zoneconf val stp zone mode error' => 'STP can only be enabled if the zone is in bridge mode',
|
||||
'zoneconf val vlan amount assignment error' => 'A zone cannot have more than one VLAN assigned.',
|
||||
'zoneconf val vlan tag assignment error' => 'You cannot use the same VLAN tag more than once per NIC.',
|
||||
'zoneconf val vlan tag range error' => 'VLAN tag must be in the range of 1-4094.',
|
||||
'zoneconf val zoneslave amount error' => 'A zone that is not in bridge mode can\'t have more than one NIC assigned',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user