]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
doc: fix option mismatch --gw/--gateway (2)
authorOlivier Mehani <shtrom@ssji.net>
Wed, 25 Nov 2009 10:10:12 +0000 (11:10 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 25 Nov 2009 10:45:16 +0000 (11:45 +0100)
extensions/libxt_TEE.c
extensions/xt_TEE.c

index 953e01dbd603eecaa5bc1bd3f2ac91e7e439f6a2..3546fdaeaefce036a81c9cce7369a0c9e96301d2 100644 (file)
@@ -51,7 +51,7 @@ static int tee_tg_parse(int c, char **argv, int invert, unsigned int *flags,
        case 'g':
                if (*flags & FLAG_GATEWAY)
                        xtables_error(PARAMETER_PROBLEM,
-                                  "Cannot specify --gw more than once");
+                                  "Cannot specify --gateway more than once");
 
                ia = xtables_numeric_to_ipaddr(optarg);
                if (ia == NULL)
@@ -76,7 +76,7 @@ static int tee_tg6_parse(int c, char **argv, int invert, unsigned int *flags,
        case 'g':
                if (*flags & FLAG_GATEWAY)
                        xtables_error(PARAMETER_PROBLEM,
-                                  "Cannot specify --gw more than once");
+                                  "Cannot specify --gateway more than once");
 
                ia = xtables_numeric_to_ip6addr(optarg);
                if (ia == NULL)
index c5ab60b7b20f8e4d335976f7aa97597d1e1292fc..72ece9705489046f3e11b439a557bec19184ce33 100644 (file)
@@ -175,7 +175,8 @@ tee_tg4(struct sk_buff **pskb, const struct xt_target_param *par)
        /*
         * Copy the skb, and route the copy. Will later return %XT_CONTINUE for
         * the original skb, which should continue on its way as if nothing has
-        * happened. The copy should be independently delivered to the TEE --gw.
+        * happened. The copy should be independently delivered to the TEE
+        * --gateway.
         */
        skb = skb_copy(skb, GFP_ATOMIC);
        if (skb == NULL) {