diff options
author | lukehamburg <luke.hamburg@gmail.com> | 2017-04-04 08:18:54 -0400 |
---|---|---|
committer | lukehamburg <luke.hamburg@gmail.com> | 2017-04-04 08:18:54 -0400 |
commit | e250fcab5c085db34e2d51fe4bd602ad7bc22b9e (patch) | |
tree | 461245de8de8485b622d7d5136d1873fdc3112f4 /src | |
parent | 392a70458e9bdca9f22b2d432ecf966b7f4b7f7f (diff) | |
download | pfsense-e250fcab5c085db34e2d51fe4bd602ad7bc22b9e.zip pfsense-e250fcab5c085db34e2d51fe4bd602ad7bc22b9e.tar.gz |
add validation via validate_ipv4_list to interfaces.inc
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/interfaces.inc | 2 |
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']}; |