[conntrack-utils PATCH r7285 05/11] added missing ntohs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---

 src/sync-mode.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/src/sync-mode.c b/src/sync-mode.c
index 4b2fad7..7db180e 100644
--- a/src/sync-mode.c
+++ b/src/sync-mode.c
@@ -113,8 +113,8 @@ static void mcast_handler(void)
 			return;
 		}
 		do_mcast_handler_step(net);
-		ptr += net->len;
-		remain -= net->len;
+		ptr += ntohs(net->len);
+		remain -= ntohs(net->len);
 	}
 }
 


-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux