firewall3: add UBUS support for include scripts
[project/firewall3.git] / main.c
diff --git a/main.c b/main.c
index 6e275ef50955cdfb470130c465c3621b167471d0..c4b82282b6c416112c51f3fe1f2efb9e37e73dcc 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;
 }