Bug: Cannot assign DHCP static mapping to a bridge Iface,defaults to LAN Iface
-
Not sure if this is a current bug, but I didn't see anything in redmine or in the forums talking about this.
Running 2.3.b.20160322.0217 .
Trying to add a static map for an existing lease, and its failing due to attempting to adding it to the wrong interface pool (defaults to "?if=lan", even though that's not the interface the IP pool is on), and upon hitting the save button it looks like submitting a GET request and from the looks of the url its incomplete and empty, also it seems to fail at checking the submitted IP range properly
Screenshots attached
Update: Dug into the config.xml file and I think i found out where the issue came from. there was a <lan></lan>artifact left over from when i turned off DHCPD on the lan interface and then removed the static IP from the LAN interface. After I cleaned that up with "viconfig" and then saved an empty update, things started working again. I think the bug is present under the services_dhcp.php page where it doesn't display the interface even though it was in config.xml (and config.cache)