Development

This commit is contained in:
Matthew Grotke 2026-06-05 22:16:52 -04:00
parent 096904c723
commit cb0fb0bdaf
12 changed files with 89 additions and 8 deletions

View file

@ -276,6 +276,8 @@ def vlans_addedit():
else:
existing.pop('dhcp_information', None)
for desc in validate.disable_portfwd_on_restricted_vlans(cfg):
flash(f"Port forwarding rule '{desc}' was disabled because its destination is on a restricted VLAN.", 'info')
errors = validate.validate_config(cfg)
if errors:
for msg in errors:
@ -338,6 +340,8 @@ def vlans_addedit():
entry['reservations'] = []
vlans.append(entry)
for desc in validate.disable_portfwd_on_restricted_vlans(cfg):
flash(f"Port forwarding rule '{desc}' was disabled because its destination is on a restricted VLAN.", 'info')
errors = validate.validate_config(cfg)
if errors:
for msg in errors: