diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-03-16 17:50:44 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-03-16 17:50:44 +0000 |
commit | 049a688e5daac240b2651bbd2cc178612741d23a (patch) | |
tree | f76be91dfaf8e42e68aafaeb281a2eb83435e326 /usr/local/www/firewall_nat.php | |
parent | c9aee395d7baf8d472ad0b481dba099eb6674061 (diff) | |
download | pfsense-049a688e5daac240b2651bbd2cc178612741d23a.zip pfsense-049a688e5daac240b2651bbd2cc178612741d23a.tar.gz |
Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel now.(yay!)
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-x | usr/local/www/firewall_nat.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index a11fd8e..9bcc2e6 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -82,12 +82,7 @@ if (isset($_POST['del_x'])) { /* delete selected rules */ if (is_array($_POST['rule']) && count($_POST['rule'])) { foreach ($_POST['rule'] as $rulei) { - $target = $rule['target']; - $helpers = exec("/bin/ps awwux | grep pftpx | grep \"{$target}\" | grep -v grep | awk '{ print \$2 }'"); - if($helpers) { - /* kill ftp proxy helper */ - mwexec("/bin/kill {$helpers}"); - } + $target = $rule['target']; unset($a_nat[$rulei]); } write_config(); |