summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaforge <laforge>2001-06-16 19:02:25 +0000
committerlaforge <laforge>2001-06-16 19:02:25 +0000
commitfc3b6542038ffcf118e1b0694051ad6b8e2da2a2 (patch)
treed907294f5519645f027d5f3d924cc5f78e6fa7be
parent3893a312f54c802609a63bbef6db8c369bac3efa (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 1afdfc5..956805a 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"},