packages/net/redsocks/patches/0006-fix_default_config_location.patch
Ted Hess aba5fa9a8d redsocks: updates to latest source and gcc build options
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-11-14 11:22:18 -05:00

17 lines
551 B
Diff

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
@@ -39,7 +39,7 @@ app_subsys *subsystems[] = {
&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)