From: Eric leblond <eric@xxxxxx> With this patch, BASE filter module is able fill oob_family when parsing IPv6 address. Signed-off-by: Eric leblond <eric@xxxxxx> --- :100644 100644 e837c62... 48f2993... M filter/raw2packet/ulogd_raw2packet_BASE.c filter/raw2packet/ulogd_raw2packet_BASE.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/filter/raw2packet/ulogd_raw2packet_BASE.c b/filter/raw2packet/ulogd_raw2packet_BASE.c index e837c62..48f2993 100644 --- a/filter/raw2packet/ulogd_raw2packet_BASE.c +++ b/filter/raw2packet/ulogd_raw2packet_BASE.c @@ -795,6 +795,10 @@ static int _interp_ipv6hdr(struct ulogd_pluginstance *pi, u_int32_t len) if (fragment) goto out; + + ret[KEY_IP_PROTOCOL].u.value.ui8 = curhdr; + ret[KEY_IP_PROTOCOL].flags |= ULOGD_RETF_VALID; + switch (curhdr) { case IPPROTO_TCP: _interp_tcp(pi, (void *)ipv6h + ptr, len); -- 1.5.2.5 - 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