Skip to content

Commit cd2a55c

Browse files
committed
Update xshared.c
1 parent 423a86e commit cd2a55c

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

ipthelper/xshared.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,16 +567,11 @@ void command_match(struct iptables_command_state *cs)
567567
if (m->x6_options != NULL){
568568
opts = xtables_options_xfrm(xt_params->orig_opts, opts,
569569
m->x6_options, &m->option_offset);
570-
int num_orig;
571-
for (num_orig = 0; opts[num_orig].name != NULL; ++num_orig) {}
572-
573-
}
574570
else if (m->extra_opts != NULL)
575571
opts = xtables_merge_options(xt_params->orig_opts, opts,
576572
m->extra_opts, &m->option_offset);
577573
if (opts == NULL)
578574
xtables_error(OTHER_PROBLEM, "can't alloc memory!");
579-
xt_params->opts = opts;
580575
}
581576

582577
const char *xt_parse_target(const char *targetname)

0 commit comments

Comments
 (0)