From 8e502b02ef911cb8c05ea58acd7e2a4c397d1831 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 22 Oct 2019 23:31:46 +0200 Subject: ip6tables, xtables-arp: Drop unused struct pprot These seem like leftovers when changing code to use xtables_chain_protos as struct xtables_pprot is identical to struct pprot removed here. Signed-off-by: Phil Sutter Acked-by: Pablo Neira Ayuso --- iptables/xtables-arp.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'iptables/xtables-arp.c') diff --git a/iptables/xtables-arp.c b/iptables/xtables-arp.c index 1a260e75..8503f47f 100644 --- a/iptables/xtables-arp.c +++ b/iptables/xtables-arp.c @@ -209,13 +209,6 @@ static int inverse_for_options[NUMBER_OF_OPT] = /* -c */ 0, }; -/* A few hardcoded protocols for 'all' and in case the user has no - /etc/protocols */ -struct pprot { - char *name; - u_int8_t num; -}; - /* Primitive headers... */ /* defined in netinet/in.h */ #if 0 -- cgit v1.2.3