summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorrusty <rusty>2000-08-24 06:00:33 +0000
committerrusty <rusty>2000-08-24 06:00:33 +0000
commitac2e8c6591ec346dd738a1c71028d8d39bb88bf1 (patch)
treed4ba0e99361c0e931d613095def40a407fd38736 /iptables.c
parent297f8f31e381bc0672a05d19ba338e18a2490b25 (diff)
Revert Harald's LOAD_MUST_SUCCEED to -j (may be chain name).
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;