mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-24 15:24:08 +00:00
support ipv6_first option in config file (#946)
This commit is contained in:
@@ -1715,6 +1715,9 @@ main(int argc, char **argv)
|
||||
if (conf->nameserver != NULL) {
|
||||
nameservers[nameserver_num++] = conf->nameserver;
|
||||
}
|
||||
if (ipv6first == 0) {
|
||||
ipv6first = conf->ipv6_first;
|
||||
}
|
||||
}
|
||||
|
||||
if (server_num == 0) {
|
||||
|
||||
Reference in New Issue
Block a user