summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libnetfilter_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnetfilter_log.c b/src/libnetfilter_log.c
index 4566b4c..cad78aa 100644
--- a/src/libnetfilter_log.c
+++ b/src/libnetfilter_log.c
@@ -553,7 +553,7 @@ int nflog_snprintf_xml(char *buf, size_t rem, struct nflog_data *tb, int flags)
}
ph = nflog_get_msg_packet_hdr(tb);
- if (ph && (flags & NFLOG_XML_HW)) {
+ if (ph) {
size = snprintf(buf + offset, rem, "<hook>%u</hook>", ph->hook);
SNPRINTF_FAILURE(size, rem, offset, len);