summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--6/main.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/6/main.pl b/6/main.pl
index a65d0b6..ecfc295 100644
--- a/6/main.pl
+++ b/6/main.pl
@@ -1,6 +1,7 @@
:- dynamic fw_rule/2.
-:- use_module(bgp).
+:- use_module(bgp, [
+ create_firewall/1]).
print_warnings([]).
print_warnings([W|Ws]) :- format("Warning: ~w~n", [W]), print_warnings(Ws).
@@ -17,5 +18,6 @@ print_warnings :-
).
main :-
+ bgp:create_firewall(),
bgp:bird_config(BirdDict),
yaml_write(current_output, BirdDict).