From d643fc4b6cf6e6243c21b19fcd31b050c92fb418 Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Wed, 25 Nov 2009 11:10:12 +0100 Subject: [PATCH] doc: fix option mismatch --gw/--gateway (2) --- extensions/libxt_TEE.c | 4 ++-- extensions/xt_TEE.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/extensions/libxt_TEE.c b/extensions/libxt_TEE.c index 953e01d..3546fda 100644 --- a/extensions/libxt_TEE.c +++ b/extensions/libxt_TEE.c @@ -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) diff --git a/extensions/xt_TEE.c b/extensions/xt_TEE.c index c5ab60b..72ece97 100644 --- a/extensions/xt_TEE.c +++ b/extensions/xt_TEE.c @@ -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) {