summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2001-06-16 19:02:25 +0000
committerHarald Welte <laforge@gnumonks.org>2001-06-16 19:02:25 +0000
commit30d920a7cf3f9c22f46fc57f938910e37dc83b04 (patch)
treed907294f5519645f027d5f3d924cc5f78e6fa7be
parent58918654563975e7bf3a6ec26af92a3bc222c229 (diff)
changed order of port_unreachable / prot_unreachable to reflect kernel enum
-rw-r--r--extensions/libipt_REJECT.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_REJECT.c b/extensions/libipt_REJECT.c
index 1afdfc52..956805a6 100644
--- a/extensions/libipt_REJECT.c
+++ b/extensions/libipt_REJECT.c
@@ -22,10 +22,10 @@ static const struct reject_names reject_table[] = {
IPT_ICMP_NET_UNREACHABLE, "ICMP network unreachable"},
{"icmp-host-unreachable", "host-unreach",
IPT_ICMP_HOST_UNREACHABLE, "ICMP host unreachable"},
- {"icmp-port-unreachable", "port-unreach",
- IPT_ICMP_PORT_UNREACHABLE, "ICMP port unreachable (default)"},
{"icmp-proto-unreachable", "proto-unreach",
IPT_ICMP_PROT_UNREACHABLE, "ICMP protocol unreachable"},
+ {"icmp-port-unreachable", "port-unreach",
+ IPT_ICMP_PORT_UNREACHABLE, "ICMP port unreachable (default)"},
#if 0
{"echo-reply", "echoreply",
IPT_ICMP_ECHOREPLY, "for ICMP echo only: faked ICMP echo reply"},