From 87d8cbe72d6d983b0a4659eaee6240a39d9731af Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 29 Aug 2012 22:43:30 +0200 Subject: Fix seqno byte order --- ffvisd/ffvisd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffvisd') diff --git a/ffvisd/ffvisd.c b/ffvisd/ffvisd.c index 1dc0a32..9ad00c8 100644 --- a/ffvisd/ffvisd.c +++ b/ffvisd/ffvisd.c @@ -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); } } -- cgit v1.2.3