firewall3: add UBUS support for include scripts
[project/firewall3.git] / main.c
diff --git a/main.c b/main.c
index 6e275ef..c4b8228 100644 (file)
--- a/main.c
+++ b/main.c
@@ -107,7 +107,7 @@ build_state(bool runtime)
        fw3_load_redirects(state, p, b.head);
        fw3_load_snats(state, p, b.head);
        fw3_load_forwards(state, p, b.head);
-       fw3_load_includes(state, p);
+       fw3_load_includes(state, p, b.head);
 
        return true;
 }