action: typo nat fix
If you taketh you giveth. I Went the LinuxWay and copied this for m_simple.c and noticed this one typo (I wonder where it came from?;->). Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
This commit is contained in:
parent
087f46ee4e
commit
e26520e5c1
|
|
@ -146,7 +146,7 @@ parse_nat(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struct
|
||||||
if (matches(*argv, "index") == 0) {
|
if (matches(*argv, "index") == 0) {
|
||||||
NEXT_ARG();
|
NEXT_ARG();
|
||||||
if (get_u32(&sel.index, *argv, 10)) {
|
if (get_u32(&sel.index, *argv, 10)) {
|
||||||
fprintf(stderr, "Pedit: Illegal \"index\"\n");
|
fprintf(stderr, "Nat: Illegal \"index\"\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
argc--;
|
argc--;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue