summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Eitzenberger <heitzenberger@astaro.com>2009-11-13 18:28:03 +0100
committerHarald Welte <laforge@gnumonks.org>2010-10-21 19:15:40 +0200
commitb28ac7200bc63ddbe574c195f07310f74530d458 (patch)
treeae757fa6b0f959b0232eead0235835bdd3cddfa5
parent7d0f81759c572d7f5506888d176061c561bc9885 (diff)
IPFIX: use source key when accessing the mark
Signed-off-by: Holger Eitzenberger <heitzenberger@astaro.com>
-rw-r--r--output/ipfix/ulogd_output_IPFIX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/ipfix/ulogd_output_IPFIX.c b/output/ipfix/ulogd_output_IPFIX.c
index 7dff315..4b2e783 100644
--- a/output/ipfix/ulogd_output_IPFIX.c
+++ b/output/ipfix/ulogd_output_IPFIX.c
@@ -407,7 +407,7 @@ again:
}
if (key_src_valid(&in[InCtMark]))
- data->aid = htonl(key_u32(&in[InCtMark]));
+ data->aid = htonl(key_src_u32(&in[InCtMark]));
else
data->aid = 0;
data->l4_proto = key_src_u8(&in[InIpProto]);