Skip to content

Commit

Permalink
Merge pull request #971 from dukeartem/master
Browse files Browse the repository at this point in the history
fix 'WARNING: Message has 41 extra bytes at end'
  • Loading branch information
wcawijngaards authored Dec 5, 2023
2 parents a2f0186 + 389e820 commit c4e0354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,7 @@ deny_refuse(struct comm_point* c, enum acl_access acl,
LDNS_QR_SET(sldns_buffer_begin(c->buffer));
LDNS_RCODE_SET(sldns_buffer_begin(c->buffer),
LDNS_RCODE_REFUSED);
sldns_buffer_set_position(c->buffer, LDNS_HEADER_SIZE);
sldns_buffer_flip(c->buffer);
return 1;
}
Expand Down

0 comments on commit c4e0354

Please sign in to comment.