mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-22 17:54:59 +02:00
This PR fixes scanning (i.e., reading from presentation format) of domain names that are just the root label. It also fixes how they are displayed: previously they were empty, now they are displayed as a dot. It also adds a new method Dname::fmt_with_dot that returns a placeholder type that displays the name with a dot at the end.