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{}