mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-08 10:57:43 +02:00
- Fix readzone unknown type print for memory resize.
This commit is contained in:
+6
-1
@@ -142,7 +142,12 @@ int main(int argc, char *const *argv)
|
||||
s = -1;
|
||||
break;
|
||||
}
|
||||
(void) sldns_wire2str_rr_buf(rr, rr_len, str, str_len);
|
||||
if (print_in_unknown_type_format)
|
||||
(void) sldns_wire2str_rr_unknown_buf(
|
||||
rr, rr_len, str, str_len);
|
||||
else
|
||||
(void) sldns_wire2str_rr_buf(
|
||||
rr, rr_len, str, str_len);
|
||||
}
|
||||
fprintf(stdout, "%s", str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user