path: root/src/sync-mode.c
diff options
authorPablo Neira Ayuso <>2008-12-08 11:09:02 +0100
committerPablo Neira Ayuso <>2008-12-08 11:09:02 +0100
commitbf6cfeb1dc6652eaff1b7c4edda45e15f5abf361 (patch)
tree936fa6dfa0aaabff35b3cd0a287f0623dfc04093 /src/sync-mode.c
parent29b5df53bcbef17722ab2b389f3352c4e86b4795 (diff)
network: remove length parameter of mcast_buffered_send_netmsg()
This patch simplifies mcast_buffered_send_netmsg() by removing the length parameter. Instead, we use the length field in the nethdr to know the message size to be sent. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/sync-mode.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c
index 98867b2..ac9d3f3 100644
--- a/src/sync-mode.c
+++ b/src/sync-mode.c
@@ -406,7 +406,7 @@ static void mcast_send_sync(struct us_conntrack *u, int query)
if (STATE_SYNC(sync)->send)
STATE_SYNC(sync)->send(net, u);
- mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net, len);
+ mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net);
static int purge_step(void *data1, void *data2)