diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-15 22:15:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-15 22:15:05 +0000 |
commit | f2114c86ed31970174636d270c1725c12e9dda8e (patch) | |
tree | 3d588d555235fa748c20a5100a4fd7cd9aa53af2 /packages/spamd_db.php | |
parent | a1f55bfd1e6c354252d75ba4600d3fdc67491f19 (diff) | |
download | pfsense-packages-f2114c86ed31970174636d270c1725c12e9dda8e.tar.gz pfsense-packages-f2114c86ed31970174636d270c1725c12e9dda8e.tar.bz2 pfsense-packages-f2114c86ed31970174636d270c1725c12e9dda8e.zip |
Remove srcip check, will need to revise this a bit.
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r-- | packages/spamd_db.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php index 50ddac0f..17ce2a9f 100644 --- a/packages/spamd_db.php +++ b/packages/spamd_db.php @@ -62,10 +62,6 @@ if($_GET['action'] or $_POST['action']) { $srcip = escapeshellarg($srcip); /* execute spamdb command */ if($action == "'whitelist'") { - if(!is_ipaddr($srcip)) { - echo "Invalid IP address entered. Please correct the entry and try again."; - return; - } exec("/usr/local/sbin/spamdb -d {$srcip}"); exec("/usr/local/sbin/spamdb -d \"{$srcip}\" -T"); exec("/usr/local/sbin/spamdb -d \"{$srcip}\" -t"); |