summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_1to1_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-23 21:54:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-23 21:54:49 +0000
commit855d186191ab74ee7d43c115bcae3bdd20ab19af (patch)
treef27b8ba7c59869d940a254975b07cf7ecd8b59c5 /usr/local/www/firewall_nat_1to1_edit.php
parentf80d5538fe7fd16b1de789f9d66b014dd75ebf7a (diff)
downloadpfsense-855d186191ab74ee7d43c115bcae3bdd20ab19af.zip
pfsense-855d186191ab74ee7d43c115bcae3bdd20ab19af.tar.gz
* Use correct ftp-proxy arguments
Diffstat (limited to 'usr/local/www/firewall_nat_1to1_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_1to1_edit.php2
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");
}
OpenPOWER on IntegriCloud