From 8ee6d3dd791e01872695f708e73d734219b8fea9 Mon Sep 17 00:00:00 2001
From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org"
Date: Wed, 16 Apr 2008 14:46:17 +0000
Subject: - bump version to 0.0.92 - recover the ID support - add support for
timeout comparison - ignore set operation for counters and use attributes -
fix broken status comparison - statify several __snprintf functions
---
src/conntrack/snprintf_xml.c | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'src/conntrack/snprintf_xml.c')
diff --git a/src/conntrack/snprintf_xml.c b/src/conntrack/snprintf_xml.c
index 8b6d0cf..bb9bdef 100644
--- a/src/conntrack/snprintf_xml.c
+++ b/src/conntrack/snprintf_xml.c
@@ -46,6 +46,7 @@
* 100
* 1
* 0
+ * 453281439
*
*
*
@@ -322,6 +323,11 @@ int __snprintf_conntrack_xml(char *buf,
BUFFER_SIZE(ret, size, len, offset);
}
+ if (test_bit(ATTR_ID, ct->set)) {
+ ret = snprintf(buf+offset, len, "%u", ct->id);
+ BUFFER_SIZE(ret, size, len, offset);
+ }
+
if (test_bit(ATTR_STATUS, ct->set)
&& ct->status & IPS_ASSURED) {
ret = snprintf(buf+offset, len, "");
--
cgit v1.2.3