Deleting a static gateway results in an auto-added dynamic gateway
When you have a static gateway configured, and delete that gateway, you end up with an auto-added dynamic gateway for that interface.
Configure OPT1 as static, with a static gateway.
Delete the gateway on system_gateways.php
Upon page refresh of system_gateways.php you have a dynamic gateway for OPT1, though Interfaces > OPT1 shows no gateway configured (which is correct).
Ticket #304. Fix bogus dynamic entries in system->gateways after deleting gateways.
#2 Updated by igor igor over 9 years ago
I'm having the same error:
<descr>Interface LAN static Gateway</descr>
<descr>Interface WAN dynamic Gateway</descr>
When I try to edit the dynamic gateway I get this on save:
The following input errors were detected:
The field 'Gateway' is required.
#4 Updated by Chris Buechler over 9 years ago
Still a bit of a problem here. For example, restore the attached config, browse to System > Gateways. Delete OPT1GW and you end up with a dynamic OPT1 gateway. After applying changes it goes away, but it shouldn't ever be shown.