mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-09 22:03:15 -05:00
fix 'WARNING: Message has 41 extra bytes at end'
This commit is contained in:
parent
f72116883b
commit
389e820878
1 changed files with 1 additions and 0 deletions
|
|
@ -1095,6 +1095,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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue