diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-08 11:09:02 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-08 11:09:02 +0100 |
commit | bf6cfeb1dc6652eaff1b7c4edda45e15f5abf361 (patch) | |
tree | 936fa6dfa0aaabff35b3cd0a287f0623dfc04093 /src/sync-alarm.c | |
parent | 29b5df53bcbef17722ab2b389f3352c4e86b4795 (diff) | |
download | conntrack-tools-bf6cfeb1dc6652eaff1b7c4edda45e15f5abf361.tar.gz conntrack-tools-bf6cfeb1dc6652eaff1b7c4edda45e15f5abf361.zip |
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 <pablo@netfilter.org>
Diffstat (limited to 'src/sync-alarm.c')
-rw-r--r-- | src/sync-alarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-alarm.c b/src/sync-alarm.c index 4473af2..377af16 100644 --- a/src/sync-alarm.c +++ b/src/sync-alarm.c @@ -41,7 +41,7 @@ static void refresher(struct alarm_block *a, void *data) net = BUILD_NETMSG(u->ct, NFCT_Q_UPDATE); len = prepare_send_netmsg(STATE_SYNC(mcast_client), net); - mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net, len); + mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net); } static void cache_alarm_add(struct us_conntrack *u, void *data) |