NLnetLabs / simdzone

Fast and standards compliant DNS zone parser
BSD 3-Clause "New" or "Revised" License
63 stars 11 forks source link

Fix relative include #208

Closed wcawijngaards closed 1 month ago

wcawijngaards commented 2 months ago

This fixes relative includes in the zone file. The name should be resolved relative to the working directory. And not relative to the zone file name. This makes the resolve_path function superfluous.

There is a unit test for it in nsd. Fixes NLnetlabs/nsd#343 .