From 6d6c3c26ffb1b9debfe79d77e06c12d5bd581633 Mon Sep 17 00:00:00 2001 From: dma Date: Sun, 10 Sep 2017 17:25:57 +0000 Subject: [PATCH] move sgfw socks config location --- sgfw/sgfw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgfw/sgfw.go b/sgfw/sgfw.go index 52dd846..af8faf9 100644 --- a/sgfw/sgfw.go +++ b/sgfw/sgfw.go @@ -152,7 +152,7 @@ type SocksJsonConfig struct { var commentRegexp = regexp.MustCompile("^[ \t]*#") -const defaultSocksCfgPath = "/etc/fw-daemon-socks.json" +const defaultSocksCfgPath = "/etc/sgfw/fw-daemon-socks.json" func loadSocksConfiguration(configFilePath string) (*SocksJsonConfig, error) { config := SocksJsonConfig{}