aboutsummaryrefslogtreecommitdiffstats
path: root/config/siproxd.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/siproxd.inc')
-rw-r--r--config/siproxd.inc11
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");