This is a application of patch provided by Jaap Keuter. Application will close bugzilla 535. pcap len was set to value of the pointer to raw data. Signed-off-by: Eric Leblond <eric@xxxxxx> --- pcap/ulogd_PCAP.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pcap/ulogd_PCAP.c b/pcap/ulogd_PCAP.c index 686fe47..7d67c28 100644 --- a/pcap/ulogd_PCAP.c +++ b/pcap/ulogd_PCAP.c @@ -131,7 +131,7 @@ static int pcap_output(ulog_iret_t *res) { struct pcap_sf_pkthdr pchdr; - pchdr.caplen = GET_VALUE(1).ui32; + pchdr.caplen = GET_VALUE(2).ui32; pchdr.len = GET_VALUE(2).ui32; if (GET_FLAGS(3) & ULOGD_RETF_VALID -- 1.5.5.3 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html