Skip to content

Commit

Permalink
gargoyle-firewall-util: Fix Total Network quota not being created
Browse files Browse the repository at this point in the history
  • Loading branch information
lantis1008 committed Jan 15, 2022
1 parent 4ccb73b commit bf9eef6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package/gargoyle-firewall-util/src/restore_quotas.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,12 +659,16 @@ int main(int argc, char** argv)
foundip4 = 1;
foundip6 = 1;
}
else if(strcmp(ip, "ALL") == 0)
{
foundip4 = 1;
foundip6 = 1;
}
if(ip6_test == NULL)
{
ip6_test=strdup(ip_test);
}


if(up_qos_mark != NULL && down_qos_mark != NULL)
{
char* set_egress_mark = dynamic_strcat(2, " -j MARK --set-mark ", up_qos_mark);
Expand Down

0 comments on commit bf9eef6

Please sign in to comment.