[FS#945] firewall3 is missing iptables dependency
LEDE Bugs
lede-bugs at lists.infradead.org
Tue Aug 1 04:44:10 PDT 2017
The following task has a new comment added:
FS#945 - firewall3 is missing iptables dependency
User who did this - Charlemagne Lasse (charlemagnelasse)
----------
Sorry, but what about this code:
void
fw3_print_includes(struct fw3_state *state, enum fw3_family family, bool reload)
{
struct fw3_include *include;
bool exec = false;
const char *restore = "iptables-restore";
if (family == FW3_FAMILY_V6)
restore = "ip6tables-restore";
list_for_each_entry(include, &state->includes, list)
{
if (reload && !include->reload)
continue;
if (include->type != FW3_INC_TYPE_RESTORE)
continue;
if (!fw3_is_family(include, family))
continue;
if (!exec)
{
exec = fw3_command_pipe(false, restore, "--noflush");
if (!exec)
return;
}
print_include(include);
}
if (exec)
fw3_command_close();
}
----------
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=945#comment3185
More information about the lede-bugs
mailing list