| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This code would accept an IPv6 address, but that causes an error to be reported by the DHCP (v4) Relay service on startup.
Validate the destination server IP address(es) to ensure they are IPv4.
(cherry picked from commit bdda1446ca335dfcbfb3d9937a20dd2a5bf93ae9)
|
|
|
|
|
|
|
|
|
|
|
| |
While looking at interactions between DHCP Relay and DHCP Server, I noticed a few annoying/inconsistent things in driving the UI:
1) If there were validation errors on the Destination Server IP Addresses that the user input, messages would be given about invalid addresses but the data in the Destination Server row(s) would be reset to what it was before the user started editing, losing whatever they changes they had been trying to make so far.
2) Empty rows would be reported as errors. The code already did some ignoring of empty rows, but not entirely successfully.
This change:
a) Reports which IP addresses were invalid
b) Preserves the data that the user tried to enter, so they can correct it and try again.
c) Ignores any empty rows, only reporting an error if all the rows are empty.
(cherry picked from commit ac999f3b7894bd8d5fc35419a22cc2df39416e42)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The usage of require() and require_once() throughout the system is
inconsistent, and "bugs" come up now and then when the order of
"requires" is a bit different and some require() happens after the
include file is already included/required.
It seems to me that there is no harm at all in always using
require_once().
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove unused variable $closehead
|
| |
|
|
|
|
| |
was the reason they were added, it was never finished and it's not being used
|
|
|
|
| |
are all pages and the "WebCfg" prefix implies they are pages.
|
|
|
|
|
| |
Any GUI script that loads the guiconfig.inc file will have access to
the autoloader.
|
| |
|
| |
|
| |
|
|
|
|
| |
filter reload to DHCP Relay config so rules are immediately added/removed. Ticket #4558
|
| |
|
| |
|
|
|