]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
changed order of port_unreachable / prot_unreachable to reflect kernel enum
authorHarald Welte <laforge@gnumonks.org>
Sat, 16 Jun 2001 19:02:25 +0000 (19:02 +0000)
committerHarald Welte <laforge@gnumonks.org>
Sat, 16 Jun 2001 19:02:25 +0000 (19:02 +0000)
extensions/libipt_REJECT.c

index 1afdfc52fe677e86a022e32e2e9d549f38dc9221..956805a67e144d860db21265ac9cd3e40ec8b02a 100644 (file)
@@ -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"},