7c01da4a72
Attached patch allows to use the 'bind' option even if transparent proxy support is compiled into tinyproxy (which is in openwrt). There are several references related to the bug, but nobody seams to know why this - apparently not needed - check was build in. Regards Mathias git-svn-id: svn://svn.openwrt.org/openwrt/packages@26982 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
558 B
Diff
14 lines
558 B
Diff
--- a/src/main.c
|
|
+++ b/src/main.c
|
|
@@ -326,8 +326,8 @@ static void initialize_config_defaults (
|
|
conf->errorpages = NULL;
|
|
conf->stathost = safestrdup (TINYPROXY_STATHOST);
|
|
conf->idletimeout = MAX_IDLE_TIME;
|
|
- conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy/tinyproxy.log");
|
|
- conf->pidpath = safestrdup (LOCALSTATEDIR "/run/tinyproxy/tinyproxy.pid");
|
|
+ conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy.log");
|
|
+ conf->pidpath = safestrdup (LOCALSTATEDIR "/tinyproxy.pid");
|
|
}
|
|
|
|
/**
|