diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-06-24 21:10:16 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-06-24 21:10:16 +0000 |
commit | 1a0a9c39b4ded301ccce1c796ba6d381562d248b (patch) | |
tree | 005e69683f44c2934f30179ca89c526fc80e9f1f | |
parent | 7b9aaebe3a155d092b633a13f9f02f55e456b361 (diff) |
*** empty log message ***
-rw-r--r-- | ebtables.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -744,7 +744,8 @@ void check_for_loops() // now see if we've been here before for (k = 0; k < sp; k++) if (stack[k].chain_nr == verdict + NF_BR_NUMHOOKS) - goto error; + print_error("Loop from chain %s to chain %s", + nr_to_chain(chain_nr)->name, nr_to_chain(stack[k].chain_nr)->name); // jump to the chain, make sure we know how to get back stack[sp].chain_nr = chain_nr; stack[sp].n = j; @@ -772,8 +773,6 @@ letscontinue: } free(stack); return; -error: - print_error("Loop"); } // parse the chain name and return the corresponding nr |