projects
/
10.03
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git]
/
net
/
ipupdate
/
patches
/
200-byteorder.patch
1
--- a/include/dns.c
2
+++ b/include/dns.c
3
@@ -127,7 +127,7 @@ int dns_t2wtsig(char *pktdata, unsigned
4
tsig.hitime = 0;
5
tsig.lotime = htonl(signtime);
6
tsig.fudge = htons(fudge);
7
- tsig.macsize = 0x1000; //16
8
+ tsig.macsize = htons(16);
9
memset(tsig.mac, 0, 16);
10
memcpy(&tsig.id, pktdata, 2);
11
tsig.error = 0;