You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
522 B

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