diff options
author | Phil Sutter <phil@nwl.cc> | 2019-10-22 23:31:46 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-10-30 10:00:40 +0100 |
commit | 8e502b02ef911cb8c05ea58acd7e2a4c397d1831 (patch) | |
tree | 6fc36ac6e3a09b0b329fb4c0f6f79f9859defb7d /iptables/ip6tables.c | |
parent | fd0bb3f4b024e91044ae7cb7707d946504eae42f (diff) |
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 <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/ip6tables.c')
-rw-r--r-- | iptables/ip6tables.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/iptables/ip6tables.c b/iptables/ip6tables.c index c160a2dd..ee463c95 100644 --- a/iptables/ip6tables.c +++ b/iptables/ip6tables.c @@ -175,12 +175,6 @@ static const unsigned int inverse_for_options[NUMBER_OF_OPT] = #define opts ip6tables_globals.opts #define prog_name ip6tables_globals.program_name #define prog_vers ip6tables_globals.program_version -/* A few hardcoded protocols for 'all' and in case the user has no - /etc/protocols */ -struct pprot { - const char *name; - uint8_t num; -}; static void __attribute__((noreturn)) exit_tryhelp(int status) |