mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 11:34:57 +02:00
doc: fix option mismatch --gw/--gateway (2)
This commit is contained in:

committed by
Jan Engelhardt

parent
0fe32e7443
commit
d643fc4b6c
@@ -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)
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user