Refine the log of obfuscating

This commit is contained in:
Max Lv
2016-12-28 15:01:17 +08:00
parent 39fbb819b3
commit 80565eece1
4 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -1256,7 +1256,6 @@ main(int argc, char **argv)
obfs_para = obfs_http;
else if (strcmp(optarg, obfs_tls->name) == 0)
obfs_para = obfs_tls;
LOGI("obfuscating enabled");
} else if (option_index == 5) {
obfs_host = optarg;
} else if (option_index == 6) {
@@ -1470,7 +1469,8 @@ main(int argc, char **argv)
else
obfs_para->host = "cloudfront.net";
obfs_para->port = atoi(remote_port);
LOGI("obfuscating arg: %s", obfs_host);
LOGI("obfuscating enabled");
LOGI("obfuscating hostname: %s", obfs_host);
}
#ifdef __MINGW32__
+2 -2
View File
@@ -838,7 +838,6 @@ main(int argc, char **argv)
obfs_para = obfs_http;
else if (strcmp(optarg, obfs_tls->name) == 0)
obfs_para = obfs_tls;
LOGI("obfuscating enabled");
} else if (option_index == 3) {
obfs_host = optarg;
} else if (option_index == 4) {
@@ -1025,7 +1024,8 @@ main(int argc, char **argv)
else
obfs_para->host = "cloudfront.net";
obfs_para->port = atoi(remote_port);
LOGI("obfuscating arg: %s", obfs_host);
LOGI("obfuscating enabled");
LOGI("obfuscating hostname: %s", obfs_host);
}
// ignore SIGPIPE
+4
View File
@@ -1842,6 +1842,10 @@ main(int argc, char **argv)
LOGI("onetime authentication enabled");
}
if (obfs_para) {
LOGI("obfuscating enabled");
}
if (mode != TCP_ONLY) {
LOGI("UDP relay enabled");
}
+2 -1
View File
@@ -1017,7 +1017,8 @@ main(int argc, char **argv)
else
obfs_para->host = "cloudfront.net";
obfs_para->port = atoi(remote_port);
LOGI("obfuscating arg: %s", obfs_host);
LOGI("obfuscating enabled");
LOGI("obfuscating hostname: %s", obfs_host);
}
// parse tunnel addr