diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-22 01:14:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-22 01:14:22 +0000 |
commit | cd860b6201bf6d577c58850d8ac2627528710e01 (patch) | |
tree | 1163cdbeab501a8f827ca1ba66cddb9007e68918 /etc | |
parent | 0da3b8e4067ba840c464dcd0732708f00869c7cd (diff) | |
download | pfsense-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.inc | 5 |
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 |