summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2000-08-24 06:00:33 +0000
committerRusty Russell <rusty@rustcorp.com.au>2000-08-24 06:00:33 +0000
commit859f7261b68ac000f0b796d519e4a2b736745208 (patch)
treed4ba0e99361c0e931d613095def40a407fd38736
parentb078ef88aebc4b02dfc7d5e21fda317924e2a991 (diff)
Revert Harald's LOAD_MUST_SUCCEED to -j (may be chain name).
-rw-r--r--iptables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables.c b/iptables.c
index a9d3dcd7..4dfa7d04 100644
--- a/iptables.c
+++ b/iptables.c
@@ -1719,7 +1719,8 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle)
set_option(&options, OPT_JUMP, &fw.ip.invflags,
invert);
jumpto = parse_target(optarg);
- target = find_target(jumpto, LOAD_MUST_SUCCEED);
+ /* TRY_LOAD (may be chain name) */
+ target = find_target(jumpto, TRY_LOAD);
if (target) {
size_t size;