On Monday 2009-02-09 22:01, jamal wrote: > >A user of the structure xtables_globals. Next goal is to attack >exit_error() so i can compile that basic program.. > >cheers, >jamal > >+void xtables_free_opts(int reset_offset, struct option *original_opts) >+{ >+ if (xt_params->opts != original_opts) { >+ if (original_opts) >+ free(xt_params->opts); >+ xt_params->opts = original_opts; >+ if (reset_offset) >+ xt_params->option_offset = 0; >+ } >+} >+ While this may have been just moved from iptables.c or so (where? I do not see any deletions or conversions of code that is supposed to make use of xtables_free_opts!) this function needs some comments to explain just why it is supposed to be doing this. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html