projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use xt_id match to track own rules
[project/firewall3.git]
/
rules.c
diff --git
a/rules.c
b/rules.c
index a5f3fa9328f02eeb76188ba6ddf42c0505269503..756c78dc47c9fa11ab4ff7af282ec0e53b70580c 100644
(file)
--- a/
rules.c
+++ b/
rules.c
@@
-264,7
+264,7
@@
append_chain(struct fw3_ipt_rule *r, struct fw3_rule *rule)
{
char chain[32];
{
char chain[32];
- snprintf(chain, sizeof(chain), "
delegate_output
");
+ snprintf(chain, sizeof(chain), "
OUTPUT
");
if (rule->target == FW3_FLAG_NOTRACK)
{
if (rule->target == FW3_FLAG_NOTRACK)
{
@@
-272,7
+272,7
@@
append_chain(struct fw3_ipt_rule *r, struct fw3_rule *rule)
}
else if (rule->target == FW3_FLAG_MARK)
{
}
else if (rule->target == FW3_FLAG_MARK)
{
- snprintf(chain, sizeof(chain), "
fwmark
");
+ snprintf(chain, sizeof(chain), "
PREROUTING
");
}
else
{
}
else
{
@@
-290,16
+290,16
@@
append_chain(struct fw3_ipt_rule *r, struct fw3_rule *rule)
else
{
if (rule->dest.set)
else
{
if (rule->dest.set)
- snprintf(chain, sizeof(chain), "
delegate_forward
");
+ snprintf(chain, sizeof(chain), "
FORWARD
");
else
else
- snprintf(chain, sizeof(chain), "
delegate_input
");
+ snprintf(chain, sizeof(chain), "
INPUT
");
}
}
if (rule->dest.set && !rule->src.set)
{
if (rule->dest.any)
}
}
if (rule->dest.set && !rule->src.set)
{
if (rule->dest.any)
- snprintf(chain, sizeof(chain), "
delegate_output
");
+ snprintf(chain, sizeof(chain), "
OUTPUT
");
else
snprintf(chain, sizeof(chain), "zone_%s_output",
rule->dest.name);
else
snprintf(chain, sizeof(chain), "zone_%s_output",
rule->dest.name);