move sgfw socks config location

shw_dev
dma 7 years ago
parent ee82803633
commit 6d6c3c26ff

@ -152,7 +152,7 @@ type SocksJsonConfig struct {
var commentRegexp = regexp.MustCompile("^[ \t]*#") 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) { func loadSocksConfiguration(configFilePath string) (*SocksJsonConfig, error) {
config := SocksJsonConfig{} config := SocksJsonConfig{}

Loading…
Cancel
Save