When deleting or disabling a non-dynamic gateway, if that gateway was set as default then remove the corresponding default route to respect the user's decision. Fixes #6659
(cherry picked from commit 1be1b87b5f9ab8d0a259b888aab08ec6babad568)
Fixed #6753Interface menu entries no longer sorted for consistency with other GUI instances
(cherry picked from commit e5d339735836fd55b0fa944d5d7e472793785e30)
Improve IPv4 address validation for services_dhcp
The input pattern that goes with Form_IpAddress by default allows for IPv4 and IPv6 valid characters. The back-end validation here is checking for IPv4 addresses, so it seems reasonable that the front-end input pattern checks might as well be restricted to the IPv4 valid characters. Unneeded setPattern have also been removed....
Fix display advanced after input error for system_gateways_edit
Use case:1) Edit a gateway that has no advanced settings (i.e. the Advanced section does not need to open on page load) - that works fine.2) Modify the Gateway IP Address to something invalid like 1:2::z...
Better handle no dhcpv6 leases file
(cherry picked from commit 2355c154b7598f937ba2121429659f5676ce4d96)
Merge pull request #3204 from phil-davis/patch-6
Fix #6872 CP bandwidth 0 is no valid
The front-end validation prevents zero from being entered. "Leave empty" is the way to specify no limit.(cherry picked from commit b7f2ebb5448f7992cceec899504bdd0a29058fb9)
Provide conrol on system.php to allow display of hostname on login banner
(cherry picked from commit a22947a4980a9f8beb294d6bad039495164ff1aa)
Fix #6869 diag_routes resolve names for RELENG_2_3
This code to parse the netstat output and use gethostbyaddr() to reverse resolve names is only needed in RELENG_2_3, so that long names are not truncated. In FreeBSD 10.3 some long resolved names are still being truncated by `netstat`, even though `-W` is specified....
Fix up help text on outbound NAT.
View revisions
Also available in: Atom