diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-23 21:54:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-23 21:54:49 +0000 |
commit | 855d186191ab74ee7d43c115bcae3bdd20ab19af (patch) | |
tree | f27b8ba7c59869d940a254975b07cf7ecd8b59c5 /usr | |
parent | f80d5538fe7fd16b1de789f9d66b014dd75ebf7a (diff) | |
download | pfsense-855d186191ab74ee7d43c115bcae3bdd20ab19af.zip pfsense-855d186191ab74ee7d43c115bcae3bdd20ab19af.tar.gz |
* Use correct ftp-proxy arguments
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_nat_1to1_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php index 010d10b..c814d50 100755 --- a/usr/local/www/firewall_nat_1to1_edit.php +++ b/usr/local/www/firewall_nat_1to1_edit.php @@ -122,7 +122,7 @@ if ($_POST) { if($a_1to1[$id]['useftphelper']) { if($a_1to1[$id]['external'] != $_POST['external'] or $a_1to1[$id]['internal'] != $_POST['internal'] or !$_POST['useftphelper']) { - $helpers = `/bin/ps awux | grep "p 21 {$a_1to1[$id]['internal']} {$a_1to1[$id]['external']}" | grep -v grep | awk '{ print $2 }'`; + $helpers = `/bin/ps awux | grep "p 21 -R {$a_1to1[$id]['internal']} -b {$a_1to1[$id]['external']}" | grep -v grep | awk '{ print $2 }'`; if($helpers) exec("kill $helpers"); } |