From 2caac53749dece14825991ffcc267e913091e842 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 14 Nov 2023 19:41:02 +0100 Subject: wip --- 6/main.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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). -- cgit v1.2.3