summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-06-15 02:00:59 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-06-15 02:00:59 +0200
commit09e2ff617c16e957e71b5d3b5769920d4d0aa536 (patch)
treeacb85a81c8463d44e50a7622e2d347234f51bc41 /src
parent0865d22af0ec5876f721d44c90ac898fdfa435aa (diff)
downloadconntrack-tools-09e2ff617c16e957e71b5d3b5769920d4d0aa536.tar.gz
conntrack-tools-09e2ff617c16e957e71b5d3b5769920d4d0aa536.zip
conntrackd: `-i -x' does not display internal cache in XML
`conntrackd -i -x' does not display internal cache in XML, this patch fixes the problem. Signed-off-by: Mohit Mehta <mohit.mehta@vyatta.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r--src/internal_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal_cache.c b/src/internal_cache.c
index daadfd6..e50e1db 100644
--- a/src/internal_cache.c
+++ b/src/internal_cache.c
@@ -40,7 +40,7 @@ static void _close(void)
static void dump(int fd, int type)
{
- cache_dump(STATE(mode)->internal->data, fd, NFCT_O_PLAIN);
+ cache_dump(STATE(mode)->internal->data, fd, type);
}
static void flush(void)