From 2f49c9bb6a9e4b7ed26d8e487e372695031aa5f9 Mon Sep 17 00:00:00 2001 From: Corubba Smith Date: Sat, 29 Mar 2025 12:07:06 +0100 Subject: ulog: remove input plugin The ULOG target was removed from the linux kernel with 7200135bc1e6 ("netfilter: kill ulog targets") aka v3.17, so remove the input plugin for it. It's successor NFLOG should be used instead, which has its own input plugin. Signed-off-by: Corubba Smith Signed-off-by: Florian Westphal --- filter/ulogd_filter_HWHDR.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'filter') diff --git a/filter/ulogd_filter_HWHDR.c b/filter/ulogd_filter_HWHDR.c index a5ee60d..4bbf20d 100644 --- a/filter/ulogd_filter_HWHDR.c +++ b/filter/ulogd_filter_HWHDR.c @@ -198,11 +198,7 @@ static int interp_mac2str(struct ulogd_pluginstance *pi) return ULOGD_IRET_ERR; if (pp_is_valid(inp, KEY_RAW_TYPE)) - /* NFLOG with Linux >= 2.6.27 case */ type = ikey_get_u16(&inp[KEY_RAW_TYPE]); - else if (ikey_get_u16(&inp[KEY_RAW_MACLEN]) == ETH_HLEN) - /* ULOG case, treat ethernet encapsulation */ - type = ARPHRD_ETHER; else type = ARPHRD_VOID; -- cgit v1.2.3