Merge pull request #261 from yuanl/master

fixed config.json compatibility issue
This commit is contained in:
Max Lv
2015-02-11 10:27:41 +08:00
+1 -1
View File
@@ -165,7 +165,7 @@ jconf_t *read_jconf(const char * file)
}
} else if (strcmp(name, "server_port") == 0) {
conf.remote_port = to_string(value);
} else if (strcmp(name, "local") == 0) {
} else if (strcmp(name, "local_address") == 0) {
conf.local_addr = to_string(value);
} else if (strcmp(name, "local_port") == 0) {
conf.local_port = to_string(value);