mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-07 15:29:36 -05:00
Fixup position before flip.
git-svn-id: file:///svn/unbound/trunk@3842 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
0143885a41
commit
35e1120341
1 changed files with 1 additions and 0 deletions
|
|
@ -773,6 +773,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