Skip to content
Snippets Groups Projects
Forked from Knot projects / Knot DNS
Source project has a limited visibility.
user avatar
Lubos Slovak authored
dname and node were referencing each other. Used
  forward-declaration of node in dname.
Added API getter functions (with implementation):
  - dnslib_dname_name()
  - dnslib_dname_size()
  - dnslib_dname_node()
Fixed dname implementation:
  - str_to_wire() was replacing chars by label lengths
  - new_from_str() bad assert
  - new_from_wire() was not allocating space for the name
  - to_str() was de facto copying the wire format

Added some debug output to dname

refs #5, #88
cfe80a2c
History
Name Last commit Last update