]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsrecords: fix APL test on macOS 9550/head
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 28 Sep 2020 13:56:04 +0000 (15:56 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 28 Sep 2020 14:44:25 +0000 (16:44 +0200)
commitad87774223be657ca420946b3689ce70e8fae64e
tree3401f4b971db263578b65f3cdfcc18a8f0825bf2
parente79c3ead48017487fe96290a7fc2dce7d950a223
dnsrecords: fix APL test on macOS

macOS does not life fe80:: without an %interface specifier, so inet_pton
fails, and we end with an error like this:

check rec->getZoneRepresentation() == zoneval has failed [2:invalid Non-recoverable failure in name resolution/128 != 2:fe80:1234:5678:9910:8bc:3359:b2e8:720e/128]

Fix test by switching to a "normal" internet class prefix.
pdns/test-dnsrecords_cc.cc