diff options
-rw-r--r-- | 6/main.pl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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). |