summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Eitzenberger <heitzenberger@astaro.com>2009-10-09 10:39:26 +0200
committerHarald Welte <laforge@gnumonks.org>2010-10-21 19:15:37 +0200
commit8280649656832969f5f0b7792185762fe08942dc (patch)
tree51519b3ad8f61fac910d7f1adaf1d2295a67cb0a
parentab77a44c31d7940485a84f76c3114bfa2efea4e6 (diff)
Fix type mismatch for raw.pktlen
Seen this: ulogd: type mismatch raw.pktlen(sys1) <-> raw.pktlen(log1) Which fixes also the empty length="" in the Astaro log. Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
-rw-r--r--input/packet/ulogd_inppkt_NFLOG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/packet/ulogd_inppkt_NFLOG.c b/input/packet/ulogd_inppkt_NFLOG.c
index a84f632..b68bb82 100644
--- a/input/packet/ulogd_inppkt_NFLOG.c
+++ b/input/packet/ulogd_inppkt_NFLOG.c
@@ -65,7 +65,7 @@ enum {
static struct ulogd_key output_keys[] = {
[K_RAW_MAC] = KEY_IPFIX(RAW, "raw.mac", IETF, sourceMacAddress),
[K_RAW_PKT] = KEY_IPFIX(RAW, "raw.pkt", NETFILTER, NF_rawpacket),
- [K_RAW_PKTLEN] KEY_IPFIX(RAW, "raw.pktlen", NETFILTER,
+ [K_RAW_PKTLEN] KEY_IPFIX(UINT32, "raw.pktlen", NETFILTER,
NF_rawpacket_length),
[K_RAW_PKTCNT] = KEY_IPFIX(UINT32, "raw.pktcount", IETF, packetDeltaCount),
[K_OOB_PREFIX] = KEY_IPFIX(STRING, "oob.prefix", NETFILTER, NF_prefix),