diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-13 17:24:47 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-13 17:24:47 +0100 |
commit | 08f59121eb907802d490601f5e54dcd0fbc1d695 (patch) | |
tree | dcad67050eb09c141feb1429362be02cb1bcd71d /src/sync-mode.c | |
parent | 74455dae1d095178b09ea3f1b1e8b005076e7a94 (diff) | |
download | conntrack-tools-08f59121eb907802d490601f5e54dcd0fbc1d695.tar.gz conntrack-tools-08f59121eb907802d490601f5e54dcd0fbc1d695.zip |
ftfw: shrink alive message size
This patch reduces the size of alive messages by removing the
"from" and "to" fields which are not of any help. This patch also
removes the IS_CTL() macro since it does not return true for
the control messages anymore but only for IS_ACK(), IS_NACK() and
IS_RESYNC().
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/sync-mode.c')
-rw-r--r-- | src/sync-mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c index d5355a7..b2b78ad 100644 --- a/src/sync-mode.c +++ b/src/sync-mode.c @@ -131,7 +131,7 @@ static void mcast_handler(void) break; } - if (IS_CTL(net)) { + if (IS_ACK(net) || IS_NACK(net) || IS_RESYNC(net)) { if (remain < NETHDR_ACK_SIZ) { STATE(malformed)++; dlog(LOG_WARNING, "no room for ctl message"); |