summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorlukehamburg <luke.hamburg@gmail.com>2017-04-04 08:18:54 -0400
committerlukehamburg <luke.hamburg@gmail.com>2017-04-04 08:18:54 -0400
commite250fcab5c085db34e2d51fe4bd602ad7bc22b9e (patch)
tree461245de8de8485b622d7d5136d1873fdc3112f4 /src/etc/inc/interfaces.inc
parent392a70458e9bdca9f22b2d432ecf966b7f4b7f7f (diff)
downloadpfsense-e250fcab5c085db34e2d51fe4bd602ad7bc22b9e.zip
pfsense-e250fcab5c085db34e2d51fe4bd602ad7bc22b9e.tar.gz
add validation via validate_ipv4_list to interfaces.inc
Diffstat (limited to 'src/etc/inc/interfaces.inc')
-rw-r--r--src/etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index e746e83..d50aab8 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -4530,7 +4530,7 @@ initial-interval 1;
script "/usr/local/sbin/pfSense-dhclient-script";
EOD;
- if (is_ipaddrv4($wancfg['dhcprejectfrom'])) {
+ if (validate_ipv4_list($wancfg['dhcprejectfrom'])) {
$dhclientconf .= <<<EOD
reject {$wancfg['dhcprejectfrom']};
OpenPOWER on IntegriCloud