summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPierre Lebleu <pme.lebleu@gmail.com>2017-05-04 10:52:55 +0200
committerJo-Philipp Wich <jo@mein.io>2017-05-09 23:54:15 +0200
commit02d68323ec83a5163caa4da3ed5f96860f607dae (patch)
tree58546a958792135f3ecf876896eac990470857db /main.c
parent0a7d36d8cf56f160b531f3db9f045e3f9315dd15 (diff)
downloadfirewall3-02d68323ec83a5163caa4da3ed5f96860f607dae.tar.gz
firewall3: add UBUS support for forwarding sections
It gives the ability to create forward rules via procd services and netifd interface firewall data. Signed-off-by: Pierre Lebleu <pme.lebleu@gmail.com>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 5888ab5..4cf46fd 100644
--- a/main.c
+++ b/main.c
@@ -106,7 +106,7 @@ build_state(bool runtime)
fw3_load_rules(state, p, b.head);
fw3_load_redirects(state, p, b.head);
fw3_load_snats(state, p, b.head);
- fw3_load_forwards(state, p);
+ fw3_load_forwards(state, p, b.head);
fw3_load_includes(state, p);
return true;