When editing a subnet in DHCP server module (dhcpd/edit_subnet.cgi), the value of shared-network is auto-selected in a wrong way.
I presume that the last value of the shared-network list is selected by default, even if the edited subnet as no parent shared-network. This results in modifying the network topology configuration, leading to non functional leases delivery to clients when applying configuration.
So you mean that when you edit a subnet that isn't inside any shared network, a shared network is still incorrectly selected as the parent?
Yes, that's it !
Ok, I see the bug here - this will be fixed in the next release of Webmin.