summaryrefslogtreecommitdiff
path: root/src/sync-mode.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-05-26 02:24:03 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-05-26 02:24:03 +0200
commite877faf2c1c557399a57a884a21133e607909b16 (patch)
tree89184e9ee045eb48a3299ae6bbb562a58f69920e /src/sync-mode.c
parentf152340a26912d090b5fd15be10208605929816b (diff)
downloadconntrack-tools-e877faf2c1c557399a57a884a21133e607909b16.tar.gz
conntrack-tools-e877faf2c1c557399a57a884a21133e607909b16.zip
rework the HELLO logic inside FT-FW
Diffstat (limited to 'src/sync-mode.c')
-rw-r--r--src/sync-mode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c
index 16cc70d..4b36935 100644
--- a/src/sync-mode.c
+++ b/src/sync-mode.c
@@ -395,9 +395,11 @@ static void mcast_send_sync(struct us_conntrack *u, int query)
net = BUILD_NETMSG(u->ct, query);
len = prepare_send_netmsg(STATE_SYNC(mcast_client), net);
- mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net, len);
+
if (STATE_SYNC(sync)->send)
STATE_SYNC(sync)->send(net, u);
+
+ mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net, len);
}
static int purge_step(void *data1, void *data2)