Package: redsocks / 0.5-1

fix_default_config_location.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: change the default config file location
 redsocks by default looks for ./redsocks.conf. Change this to
 /etc/redsocks.conf for a more deterministic behaviour.
Author: Apollon Oikonomopoulos <apoikos@gmail.com>
Forwared: no
Last-Update: 2013-04-23
--- a/main.c
+++ b/main.c
@@ -45,7 +45,7 @@
 	&dnstc_subsys,
 };
 
-static const char *confname = "redsocks.conf";
+static const char *confname = "/etc/redsocks.conf";
 static const char *pidfile = NULL;
 
 static void terminate(int sig, short what, void *_arg)