summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp_relay.php
Commit message (Collapse)AuthorAgeFilesLines
* DHCP4 Relay must relay to an IPv4 addressPhil Davis2016-12-131-4/+5
| | | | | | 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)
* Improve input validation for services_dhcp_relayPhil Davis2016-12-101-6/+10
| | | | | | | | | | | 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)
* Move copyright from ESF to NetgateRenato Botelho2016-09-061-1/+1
|
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-42/+40
|
* Always use require_oncePhil Davis2016-06-271-1/+1
| | | | | | | | | 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().
* Use print_info_box() to generate alertsk-paulius2016-02-141-1/+1
|
* Convert section titles to title casek-paulius2016-02-101-1/+1
|
* add call gettext function in the services menubruno2016-01-251-1/+1
|
* Fix reading of server list on page loadStephen Beaver2016-01-021-1/+3
|
* Fixed #5717Stephen Beaver2015-12-301-5/+5
|
* Remove $closehead variableColin Fleming2015-12-191-1/+0
| | | | Remove unused variable $closehead
* Code style services dhcp dnsmasq dyndnsPhil Davis2015-12-161-10/+13
|
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-151-3/+0
| | | | was the reason they were added, it was never finished and it's not being used
* Calling all of these "Page" in the privilege name is redundant since they ↵jim-p2015-11-251-1/+1
| | | | are all pages and the "WebCfg" prefix implies they are pages.
* Added use of class autoloading (GUI stuff only)Doug Wollison2015-11-231-2/+0
| | | | | Any GUI script that loads the guiconfig.inc file will have access to the autoloader.
* EOL whitespace and header consistency for wwwPhil Davis2015-11-091-12/+12
|
* Correction per Phil DavisStephen Beaver2015-11-061-1/+1
|
* Copyright updates Batch 2 of 3Stephen Beaver2015-11-061-1/+0
|
* Auto-add firewall rules for DHCP Relay, same as is done for DHCP Server. Add ↵Chris Buechler2015-10-141-2/+3
| | | | filter reload to DHCP Relay config so rules are immediately added/removed. Ticket #4558
* bootstrap, use require_once for classes/Form.class.phpPiBa-NL2015-08-311-1/+1
|
* Merge branch 'master' into bootstrapRenato Botelho2015-08-261-137/+150
|
* Move main pfSense content to src/Renato Botelho2015-08-251-0/+216
OpenPOWER on IntegriCloud