mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-12-22 06:15:27 +00:00
ntohs -> htons (they produce the same output, but still)
This commit is contained in:
parent
23babdc8fa
commit
ccd21a4281
@ -402,7 +402,7 @@ int main(int argc, char *argv[]) {
|
|||||||
if (dns_port != 53) {
|
if (dns_port != 53) {
|
||||||
add_filter_str(IPPROTO_UDP, dns_port);
|
add_filter_str(IPPROTO_UDP, dns_port);
|
||||||
}
|
}
|
||||||
dns_port = ntohs(dns_port);
|
dns_port = htons(dns_port);
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
do_dns_verb = 1;
|
do_dns_verb = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user