projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a50ce2
)
resolved: fix marshalling of RRSIG records
author
Tom Gundersen
<teg@jklm.no>
Wed, 8 Jul 2015 11:52:48 +0000
(13:52 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Wed, 8 Jul 2015 11:53:39 +0000
(13:53 +0200)
The key tag is 16, not 8 bits.
src/resolve/resolved-dns-packet.c
patch
|
blob
|
history
diff --git
a/src/resolve/resolved-dns-packet.c
b/src/resolve/resolved-dns-packet.c
index
bb74b18
..
47cc975
100644
(file)
--- 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_uint
8
(p, rr->rrsig.key_tag, NULL);
+ r = dns_packet_append_uint
16
(p, rr->rrsig.key_tag, NULL);
if (r < 0)
goto fail;