summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-07-08 13:00:20 -0300
committerLennart Poettering <lennart@poettering.net>2015-07-08 13:00:20 -0300
commit74d8a0d4b2205d1bd1d1f6871f76f8ea6051bd99 (patch)
treefbb0da7308b5c4a2c2c51c4354296234ec6811b1
parent008c1d3b8495b29d44923904d53330516726dd2a (diff)
parent0b1b17d3256c409254b114d63b4ed2308c10996d (diff)
Merge pull request #514 from teg/resolved-rrsig-marshal
resolved: fix marshalling of RRSIG records
-rw-r--r--src/resolve/resolved-dns-packet.c2
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;