mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-16 04:49:26 +01:00
Set PortMapping disabled as default status
This commit is contained in:
parent
0865b2cdae
commit
8575e1db9f
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ static int add_NAT_PortMapping(char *refparam, struct dmctx *ctx, void *data, ch
|
|||
dmuci_set_value_by_section(s, "src", "wan");
|
||||
dmuci_set_value_by_section(s, "target", "DNAT");
|
||||
dmuci_set_value_by_section(s, "dest", "lan");
|
||||
dmuci_set_value_by_section(s, "enabled", "0");
|
||||
|
||||
dmuci_add_section_bbfdm("dmmap_firewall", "redirect", &dmmap_firewall, &v);
|
||||
dmuci_set_value_by_section(dmmap_firewall, "section_name", section_name(s));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue