Skip to content

Commit 2bffd1b

Browse files
committed
Fix address family in APL RR
1 parent 1658121 commit 2bffd1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic/apl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static really_inline int32_t scan_apl(
1616
uint8_t digits[3];
1717
size_t count;
1818
uint32_t prefix;
19-
const uint8_t af_inet[2] = { 0x01, 0x00 }, af_inet6[2] = { 0x02, 0x00 };
19+
const uint8_t af_inet[2] = { 0x00, 0x01 }, af_inet6[2] = { 0x00, 0x02 };
2020

2121
// address family is immediately followed by a colon ":"
2222
if (text[negate + 1] != ':')

0 commit comments

Comments
 (0)