summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables.c b/iptables.c
index a9d3dcd..4dfa7d0 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;