diff options
author | Tom Gundersen <teg@jklm.no> | 2015-07-08 13:52:48 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-07-08 13:53:39 +0200 |
commit | 0b1b17d3256c409254b114d63b4ed2308c10996d (patch) | |
tree | e14ea1c66b37d89824df22c8abfdf207db632e43 /src/resolve/resolved-dns-packet.c | |
parent | 9a50ce20ef60263a6c88c29470ce761fcc424f2d (diff) |
resolved: fix marshalling of RRSIG records
The key tag is 16, not 8 bits.
Diffstat (limited to 'src/resolve/resolved-dns-packet.c')
-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; |