summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-03-16 17:50:44 +0000
committerErmal Luçi <eri@pfsense.org>2009-03-16 17:50:44 +0000
commit049a688e5daac240b2651bbd2cc178612741d23a (patch)
treef76be91dfaf8e42e68aafaeb281a2eb83435e326 /usr/local/www/firewall_nat.php
parentc9aee395d7baf8d472ad0b481dba099eb6674061 (diff)
downloadpfsense-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-xusr/local/www/firewall_nat.php7
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();
OpenPOWER on IntegriCloud