commit | 48a6f900fa25a4dd2d9b39cff4bf1ab83356d967 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Mon Oct 22 15:16:21 2001 +0000 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Oct 22 15:16:21 2001 +0000 |
tree | 1c9ff1112edb5c41adc2a234fdd1aa7fab283d8c | |
parent | 5d0a0249557017d4fa139671413f8eae44cb7330 [diff] [blame] |
check for --table as well as -t (Andreas Ferber)
diff --git a/ip6tables-restore.c b/ip6tables-restore.c index 415f1e4..1b54b23 100644 --- a/ip6tables-restore.c +++ b/ip6tables-restore.c
@@ -343,7 +343,8 @@ param_len); *(param_buffer+param_len) = '\0'; - if (!strncmp(param_buffer, "-t", 3)) { + if (!strncmp(param_buffer, "-t", 3) + || !strncmp(param_buffer, "--table", 8)) { exit_error(PARAMETER_PROBLEM, "Line %u seems to have a " "-t table option.\n", line);