From ccd21a42817e60db81af780e5a2fb7d19dfb08e4 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Thu, 21 Dec 2017 23:50:07 +0300 Subject: [PATCH] ntohs -> htons (they produce the same output, but still) --- goodbyedpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goodbyedpi.c b/goodbyedpi.c index 63493ed..5d3ccfb 100644 --- a/goodbyedpi.c +++ b/goodbyedpi.c @@ -402,7 +402,7 @@ int main(int argc, char *argv[]) { if (dns_port != 53) { add_filter_str(IPPROTO_UDP, dns_port); } - dns_port = ntohs(dns_port); + dns_port = htons(dns_port); break; case 'v': do_dns_verb = 1;