diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-13 16:50:50 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-13 16:50:50 +0100 |
commit | 3de8d91c1fa7cadf68108c0c9c03193ac5e82a73 (patch) | |
tree | 43c7828ae9825a97e598c3b543687cbcbaae63fc /src | |
parent | b442b832971f25ad573c6765bcf63640b59342a3 (diff) | |
download | conntrack-tools-3de8d91c1fa7cadf68108c0c9c03193ac5e82a73.tar.gz conntrack-tools-3de8d91c1fa7cadf68108c0c9c03193ac5e82a73.zip |
ftfw: resync messages can be retransmitted
This patch includes resync messages in the tx queue. Thus, if a
resync message gets lost, it is resent.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/sync-ftfw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c index 1f445e2..749ccac 100644 --- a/src/sync-ftfw.c +++ b/src/sync-ftfw.c @@ -499,7 +499,7 @@ static int tx_queue_xmit(void *data1, const void *data2) mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net); HDR_NETWORK2HOST(net); - if (IS_ACK(net) || IS_NACK(net)) + if (IS_ACK(net) || IS_NACK(net) || IS_RESYNC(net)) queue_add(rs_queue, net, net->len); queue_del(tx_queue, net); |