-diff -urN iptables.old/extensions/libipt_multiport.c iptables.dev/extensions/libipt_multiport.c
---- iptables.old/extensions/libipt_multiport.c 2005-02-19 20:19:17.000000000 +0100
-+++ iptables.dev/extensions/libipt_multiport.c 2006-02-04 05:46:12.154127750 +0100
+Index: iptables-1.3.8/extensions/libipt_multiport.c
+===================================================================
+--- iptables-1.3.8.orig/extensions/libipt_multiport.c 2007-07-31 15:27:55.000000000 -0500
++++ iptables-1.3.8/extensions/libipt_multiport.c 2007-07-31 15:27:56.000000000 -0500
@@ -8,24 +8,6 @@
/* To ensure that iptables compiles with an old kernel */
#include "../include/linux/netfilter_ipv4/ipt_multiport.h"
static void
help_v1(void)
{
-@@ -75,26 +57,6 @@
- "invalid port/service `%s' specified", port);
+@@ -70,26 +52,6 @@
+ }
}
-static unsigned int
static void
parse_multi_ports_v1(const char *portstring,
struct ipt_multiport_v1 *multiinfo,
-@@ -160,58 +122,6 @@
- "multiport only works with TCP or UDP");
+@@ -156,58 +118,6 @@
+ "multiport only works with TCP, UDP, UDPLITE, SCTP and DCCP");
}
-/* Function which parses command options; returns true if it
static int
parse_v1(int c, char **argv, int invert, unsigned int *flags,
const struct ipt_entry *entry,
-@@ -289,43 +199,6 @@
+@@ -284,43 +194,6 @@
printf("%s", service);
}
static void
print_v1(const struct ipt_ip *ip,
const struct ipt_entry_match *match,
-@@ -369,34 +242,6 @@
+@@ -364,34 +237,6 @@
printf(" ");
}
static void save_v1(const struct ipt_ip *ip,
const struct ipt_entry_match *match)
{
-@@ -432,19 +277,20 @@
+@@ -427,19 +272,20 @@
printf(" ");
}