- Fix readzone unknown type print for memory resize.

This commit is contained in:
W.C.A. Wijngaards 2021-07-26 16:45:33 +02:00
parent fc462aa15d
commit e8d28f0a55
2 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,7 @@
26 July 2021: Wouter 26 July 2021: Wouter
- Merge #512: unbound.service.in: upgrade hardening to latest - Merge #512: unbound.service.in: upgrade hardening to latest
standards. standards.
- Fix readzone unknown type print for memory resize.
21 July 2021: Wouter 21 July 2021: Wouter
- Fix that ldns_zone_new_frm_fp_l counts the line number for an empty - Fix that ldns_zone_new_frm_fp_l counts the line number for an empty

View file

@ -142,7 +142,12 @@ int main(int argc, char *const *argv)
s = -1; s = -1;
break; 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); fprintf(stdout, "%s", str);
} }