Properly respect other configured MTUs for other vlans. Properly respect parent of vlan MTU if configured. Also avoid errors when possible. This helps VLANs MTU handling but all the other interfaces as gre/gif/... needs the same handling. It is better to require reboot on MTU changes especially on complex configurations.
Partially revert the previous modification on vlan mtu. The function job is to find the biggest mtu between vlans and let it do that
convert_real_interface_to_friendly_interface_name() goes and checks the parent and this gives wrong information 99.9 percent of the time on scenarios like when this is called for unassigned vlans etc, while its real purpose is just to check if the interface is assigned and return the intermeddiate/config name of the interface. Leave the get_parent_option there in the function but it needs to be asked specifically for.
Skip the interface being configured from the list to check the mtu
Seems somehow globals.inc are not being sucked in on the GUIgit diff! Make this a requirement here!
Add checks for requirement as array here. Reported-by: garga
Fix the function missing from config.inc. Spotted-by: garga
Rather than set the g['booting'] on globals provide a function to test for that doing the right checks
Remove the booting signal if not needed to fix some issues reported on the GUI
Use the new available function
View revisions
Also available in: Atom