diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-18 22:32:48 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-18 22:32:48 +0000 |
commit | 3e8942166abdc33078107b231f56dfe192372a1b (patch) | |
tree | cd705c000a76f9e8f07eb9d6b0e94f76c723964f /etc/inc/config.inc | |
parent | 5dc2f2ba3d88b0e3aa5d9df6498fc27e87a92412 (diff) | |
download | pfsense-3e8942166abdc33078107b231f56dfe192372a1b.zip pfsense-3e8942166abdc33078107b231f56dfe192372a1b.tar.gz |
Silence ftp proxy debugging statements for 1.2.
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r-- | etc/inc/config.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index f4af73c..289dd93 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1573,12 +1573,14 @@ function system_start_ftp_helpers() { } } if($sourcenat == 0) { - log_error("Config: No AON rule matched for interface {$ifname} - not using FTP proxy"); + if($g['debug']) + log_error("Config: No AON rule matched for interface {$ifname} - not using FTP proxy"); mwexec("/usr/local/sbin/ftpsesame -i $int"); $interface_counter++; continue; } else { - log_error("Config: AON rule matched for interface {$ifname} - using FTP proxy"); + if($g['debug']) + log_error("Config: AON rule matched for interface {$ifname} - using FTP proxy"); } } if(isset($config['shaper']['enable'])) { |