diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-07-09 12:52:32 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-07-09 12:52:32 +0000 |
commit | 77109a5f7a7725717172ee748095238b139151f0 (patch) | |
tree | ac92609f1467b823c10b4ba89dad4203a6c7e5f5 /etc/inc | |
parent | 7b869816068b18f2623a15befbe3d7a51a7a5be4 (diff) | |
download | pfsense-77109a5f7a7725717172ee748095238b139151f0.zip pfsense-77109a5f7a7725717172ee748095238b139151f0.tar.gz |
Commit missed checkin, supress debug message
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/config.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 9de1ec5..927dc5f 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1757,12 +1757,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 pftpx is already running then do not launch it again */ @@ -1961,4 +1963,4 @@ function set_device_perms() { if($g['booting']) echo "."; $config = parse_config(); -?>
\ No newline at end of file +?> |