diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-07-08 13:00:20 -0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-07-08 13:00:20 -0300 |
commit | 74d8a0d4b2205d1bd1d1f6871f76f8ea6051bd99 (patch) | |
tree | fbb0da7308b5c4a2c2c51c4354296234ec6811b1 /src | |
parent | 008c1d3b8495b29d44923904d53330516726dd2a (diff) | |
parent | 0b1b17d3256c409254b114d63b4ed2308c10996d (diff) |
Merge pull request #514 from teg/resolved-rrsig-marshal
resolved: fix marshalling of RRSIG records
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/resolved-dns-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c index bb74b1828e..47cc9751ed 100644 --- a/src/resolve/resolved-dns-packet.c +++ b/src/resolve/resolved-dns-packet.c @@ -691,7 +691,7 @@ int dns_packet_append_rr(DnsPacket *p, const DnsResourceRecord *rr, size_t *star if (r < 0) goto fail; - r = dns_packet_append_uint8(p, rr->rrsig.key_tag, NULL); + r = dns_packet_append_uint16(p, rr->rrsig.key_tag, NULL); if (r < 0) goto fail; |