diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-06-23 18:54:34 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-06-23 18:54:34 +0000 |
commit | 25c741d4c7ce9435de17510b4727e665467e4f50 (patch) | |
tree | 332f521ed8224dc4e07ba2fe8e367ec6035e9866 /ebtables.c | |
parent | 57a40c73b4c9814d5ff82e09b61b40937b6f6dc6 (diff) | |
download | ebtables-25c741d4c7ce9435de17510b4727e665467e4f50.tar.gz |
*** empty log message ***
Diffstat (limited to 'ebtables.c')
-rw-r--r-- | ebtables.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -653,7 +653,7 @@ enddst: w_l = w_l->next; } - printf("-j "); + printf("-j %s ", hlp->t->u.name); t = find_target(hlp->t->u.name); if (!t) print_bug("Target not found"); @@ -1969,6 +1969,8 @@ int main(int argc, char *argv[]) } } + if ( !table && !(table = find_table(replace.name)) ) + print_error("Bad table name"); // database stuff before ebtables stuff if (replace.command == 'b') allowdb(allowbc); |