Browse Source

Fix: ss-local and ss-redir should also respect ipv6_first.

pull/1584/head
Yifu Yu 7 years ago
committed by Max Lv
parent
commit
4ea517daf3
2 changed files with 6 additions and 0 deletions
  1. 3
      src/local.c
  2. 3
      src/redir.c

3
src/local.c

@ -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 ||

3
src/redir.c

@ -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;
}

Loading…
Cancel
Save