summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-22 01:14:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-22 01:14:22 +0000
commitcd860b6201bf6d577c58850d8ac2627528710e01 (patch)
tree1163cdbeab501a8f827ca1ba66cddb9007e68918 /etc
parent0da3b8e4067ba840c464dcd0732708f00869c7cd (diff)
downloadpfsense-cd860b6201bf6d577c58850d8ac2627528710e01.zip
pfsense-cd860b6201bf6d577c58850d8ac2627528710e01.tar.gz
* Remove trailing space
* Kill off old process when changing IP address (record edit)
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index e1fc43d..a7e87e6 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1083,7 +1083,7 @@ EOD;
if($int && $external_address && $internal_address) {
$natrules .= "# FTP Helper binat\n";
$natrules .= "no binat on {$int} proto tcp from any to {$external_address} port 21\n";
- $helpers = exec("/bin/ps awux | grep '-p 21 {$internal_address} {$external_address}' | grep -v grep");
+ $helpers = exec("/bin/ps awux | grep \"\-p 21 {$internal_address} {$external_address}\" | grep -v grep");
if(!$helpers) {
/* Get the ftp queue for this interface */
if (isset($config['interfaces'][$rule['interface']]['ftpqueue']))
@@ -2445,5 +2445,4 @@ EOD;
return($ipfrules);
}
-
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud