Patchwork [1/4] iptables: remove unused leftover definitions

login
register
mail settings
Submitter Pablo Neira
Date Dec. 27, 2012, 12:19 a.m.
Message ID <1356567561-3205-1-git-send-email-pablo@netfilter.org>
Download mbox | patch
Permalink /patch/208242/
State Accepted
Headers show

Comments

Pablo Neira - Dec. 27, 2012, 12:19 a.m.
From: Pablo Neira Ayuso <pablo@netfilter.org>

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 iptables/iptables.c |   16 ----------------
 1 file changed, 16 deletions(-)

Patch

diff --git a/iptables/iptables.c b/iptables/iptables.c
index f765cf9..760cb16 100644
--- a/iptables/iptables.c
+++ b/iptables/iptables.c
@@ -186,22 +186,6 @@  static const int inverse_for_options[NUMBER_OF_OPT] =
 #define prog_name iptables_globals.program_name
 #define prog_vers iptables_globals.program_version
 
-/* Primitive headers... */
-/* defined in netinet/in.h */
-#if 0
-#ifndef IPPROTO_ESP
-#define IPPROTO_ESP 50
-#endif
-#ifndef IPPROTO_AH
-#define IPPROTO_AH 51
-#endif
-#endif
-
-enum {
-	IPT_DOTTED_ADDR = 0,
-	IPT_DOTTED_MASK
-};
-
 static void __attribute__((noreturn))
 exit_tryhelp(int status)
 {