Development
This commit is contained in:
parent
096904c723
commit
cb0fb0bdaf
12 changed files with 89 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue