We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 423a86e commit cd2a55cCopy full SHA for cd2a55c
1 file changed
ipthelper/xshared.c
@@ -567,16 +567,11 @@ void command_match(struct iptables_command_state *cs)
567
if (m->x6_options != NULL){
568
opts = xtables_options_xfrm(xt_params->orig_opts, opts,
569
m->x6_options, &m->option_offset);
570
-int num_orig;
571
-for (num_orig = 0; opts[num_orig].name != NULL; ++num_orig) {}
572
-
573
- }
574
else if (m->extra_opts != NULL)
575
opts = xtables_merge_options(xt_params->orig_opts, opts,
576
m->extra_opts, &m->option_offset);
577
if (opts == NULL)
578
xtables_error(OTHER_PROBLEM, "can't alloc memory!");
579
- xt_params->opts = opts;
580
}
581
582
const char *xt_parse_target(const char *targetname)
0 commit comments