Fix seqno byte order
This commit is contained in:
parent
6c79dcef39
commit
87d8cbe72d
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ static void maintenance() {
|
|||
|
||||
for(announce = &announcements; *announce; announce = &(*announce)->next) {
|
||||
if (!(*announce)->received.tv_sec) /* announcement is local */
|
||||
(*announce)->announce.seqno++;
|
||||
(*announce)->announce.seqno = htons(ntohs((*announce)->announce.seqno)+1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue