diff options
author | jim-p <jimp@pfsense.org> | 2010-11-30 16:45:20 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-11-30 16:45:20 -0500 |
commit | 713b3b82d6bccb95ee1cdbee9f072cc81c883638 (patch) | |
tree | 868b420f73d29f075988d0fb0e47b5e0eff0df9d /config/siproxd.inc | |
parent | 6e314b51df176e4c4cf17042281ef1882f7b01ea (diff) | |
download | pfsense-packages-713b3b82d6bccb95ee1cdbee9f072cc81c883638.tar.gz pfsense-packages-713b3b82d6bccb95ee1cdbee9f072cc81c883638.tar.bz2 pfsense-packages-713b3b82d6bccb95ee1cdbee9f072cc81c883638.zip |
Add debug options
Diffstat (limited to 'config/siproxd.inc')
-rw-r--r-- | config/siproxd.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/config/siproxd.inc b/config/siproxd.inc index 2a48137a..8e74143e 100644 --- a/config/siproxd.inc +++ b/config/siproxd.inc @@ -173,7 +173,16 @@ function sync_package_siproxd() { fwrite($fout, "proxy_auth_pwfile = /usr/local/etc/siproxd_passwd.cfg\n"); } - fwrite($fout, "debug_level = 0x00000000\n"); + if($siproxd_conf['debug_level'] != "") { + fwrite($fout, "debug_level = " . $siproxd_conf['debug_level'] . "\n"); + } else { + fwrite($fout, "debug_level = 0x00000000\n"); + } + + if($siproxd_conf['debug_port'] != "") { + fwrite($fout, "debug_port = " . $siproxd_conf['debug_port'] . "\n"); + } + if($siproxd_conf['outboundproxyhost'] != "") { if($siproxd_conf['outboundproxyport'] != "") { fwrite($fout, "outbound_proxy_host = " . $siproxd_conf['outboundproxyhost'] . "\n"); |