Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:security
passivedns
0001-Fix-compiler-warning-about-excessive-paren...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-compiler-warning-about-excessive-parenthesis.patch of Package passivedns
From 4f09955f543a142165d45382a17d299857047d4b Mon Sep 17 00:00:00 2001 From: Shawn Michael <blkmajik@monkeyspunk.net> Date: Wed, 8 Dec 2021 16:27:19 -0700 Subject: [PATCH 1/3] Fix compiler warning about excessive parenthesis --- src/dns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dns.c b/src/dns.c index e1dbf81..e3901c0 100644 --- a/src/dns.c +++ b/src/dns.c @@ -121,7 +121,7 @@ void dns_parser(packetinfo *pi) } dlog("[D] DNS Answer\n"); /* Check the DNS TID */ - if ((pi->cxt->plid == ldns_pkt_id(dns_pkt))) { + if (pi->cxt->plid == ldns_pkt_id(dns_pkt)) { dlog("[D] DNS Query TID match Answer TID: %d\n", pi->cxt->plid); } else { @@ -372,7 +372,7 @@ int cache_dns_objects(packetinfo *pi, ldns_rdf *rdf_data, to_offset = 5; } break; - + case LDNS_RR_TYPE_NSEC: if (config.dnsf & DNS_CHK_DNSSEC) { offset = 0; -- 2.37.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor