mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-12-06 15:54:15 +00:00
Fix: ss-local and ss-redir should also respect ipv6_first.
This commit is contained in:
@@ -1471,6 +1471,9 @@ main(int argc, char **argv)
|
||||
nofile = conf->nofile;
|
||||
}
|
||||
#endif
|
||||
if (ipv6first == 0) {
|
||||
ipv6first = conf->ipv6_first;
|
||||
}
|
||||
}
|
||||
|
||||
if (remote_num == 0 || remote_port == NULL ||
|
||||
|
||||
@@ -1080,6 +1080,9 @@ main(int argc, char **argv)
|
||||
nofile = conf->nofile;
|
||||
}
|
||||
#endif
|
||||
if (ipv6first == 0) {
|
||||
ipv6first = conf->ipv6_first;
|
||||
}
|
||||
dscp_num = conf->dscp_num;
|
||||
dscp = conf->dscp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user