From 8115e5425721cd610b6390c3d4c24540773b0520 Mon Sep 17 00:00:00 2001 From: Pablo Neira Date: Mon, 14 Feb 2005 13:13:04 +0000 Subject: Kill NFC_* stuff in iptables (Pablo Neira ) Fixes build with conntrack event patch for 2.6 --- extensions/libip6t_mac.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'extensions/libip6t_mac.c') diff --git a/extensions/libip6t_mac.c b/extensions/libip6t_mac.c index 353f7461..e47f21f6 100644 --- a/extensions/libip6t_mac.c +++ b/extensions/libip6t_mac.c @@ -28,14 +28,6 @@ static struct option opts[] = { {0} }; -/* Initialize the match. */ -static void -init(struct ip6t_entry_match *m, unsigned int *nfcache) -{ - /* Can't cache this */ - *nfcache |= NFC_UNKNOWN; -} - static void parse_mac(const char *mac, struct ip6t_mac_info *info) { @@ -134,7 +126,6 @@ static struct ip6tables_match mac = { .size = IP6T_ALIGN(sizeof(struct ip6t_mac_info)), .userspacesize = IP6T_ALIGN(sizeof(struct ip6t_mac_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, -- cgit v1.2.3