summaryrefslogtreecommitdiff
path: root/sbin/unwind/libunbound/util/data/msgreply.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/unwind/libunbound/util/data/msgreply.c')
-rw-r--r--sbin/unwind/libunbound/util/data/msgreply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/unwind/libunbound/util/data/msgreply.c b/sbin/unwind/libunbound/util/data/msgreply.c
index 32aec4bf4c9..a2c09ac2016 100644
--- a/sbin/unwind/libunbound/util/data/msgreply.c
+++ b/sbin/unwind/libunbound/util/data/msgreply.c
@@ -819,7 +819,7 @@ log_dns_msg(const char* str, struct query_info* qinfo, struct reply_info* rep)
sldns_buffer* buf = sldns_buffer_new(65535);
struct regional* region = regional_create();
if(!reply_info_encode(qinfo, rep, 0, rep->flags, buf, 0,
- region, 65535, 1)) {
+ region, 65535, 1, 0)) {
log_info("%s: log_dns_msg: out of memory", str);
} else {
char* s = sldns_wire2str_pkt(sldns_buffer_begin(buf),