]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-packet.c
resolved: make TXT RR generation and parsing more in-line with RFC 6763, section 6.1
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Dec 2014 02:08:55 +0000 (03:08 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 1 Dec 2014 02:08:55 +0000 (03:08 +0100)
commit1ccda9b7168e89141b60290295170e07e760efeb
treec6a53fa7f59747ac8d7e37f2172915700168377e
parent75e52a16f9ef476f1d18ec6d9c84e00149b80d03
resolved: make TXT RR generation and parsing more in-line with RFC 6763, section 6.1

The RFC says to encode an single empty TXT string instead of an empty
TXT array. It also says to treat a zero-length TXT RR as a TXT array
with a single zero-length string.
src/resolve/resolved-dns-packet.c