mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-12-22 12:18:47 +00:00
Fix format specifier for unsigned int.
This commit is contained in:
parent
6dcaf533d1
commit
4b413c902f
@ -234,7 +234,7 @@ static void get_chain_data(proxy_data * pd, unsigned int *proxy_count, chain_typ
|
|||||||
} else if(strstr(buff, "tcp_connect_time_out")) {
|
} else if(strstr(buff, "tcp_connect_time_out")) {
|
||||||
sscanf(buff, "%s %d", user, &tcp_connect_time_out);
|
sscanf(buff, "%s %d", user, &tcp_connect_time_out);
|
||||||
} else if(strstr(buff, "remote_dns_subnet")) {
|
} else if(strstr(buff, "remote_dns_subnet")) {
|
||||||
sscanf(buff, "%s %d", user, &remote_dns_subnet);
|
sscanf(buff, "%s %u", user, &remote_dns_subnet);
|
||||||
if(remote_dns_subnet >= 256) {
|
if(remote_dns_subnet >= 256) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"remote_dns_subnet: invalid value. requires a number between 0 and 255.\n");
|
"remote_dns_subnet: invalid value. requires a number between 0 and 255.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user