mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix readzone unknown type print for memory resize.
This commit is contained in:
parent
fc462aa15d
commit
e8d28f0a55
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue