summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-11-23 10:49:18 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2023-11-23 10:49:18 +0100
commit3d1c40ea667a25c1dde11a44a9e2e87a8cf51112 (patch)
treefee384f3a54480285bdd78a120d5157bb010a2ea
parenta07086b9255ea72459f6262884c58fd7bc9294e7 (diff)
downloadprolog-firewall-3d1c40ea667a25c1dde11a44a9e2e87a8cf51112.tar.gz
prolog-firewall-3d1c40ea667a25c1dde11a44a9e2e87a8cf51112.tar.bz2
prolog-firewall-3d1c40ea667a25c1dde11a44a9e2e87a8cf51112.tar.xz
prolog-firewall-3d1c40ea667a25c1dde11a44a9e2e87a8cf51112.zip
wip
-rw-r--r--6/bgp.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/6/bgp.pl b/6/bgp.pl
index 0bf2e89..54768c7 100644
--- a/6/bgp.pl
+++ b/6/bgp.pl
@@ -17,10 +17,6 @@
fw_rule/2,
retract_all_from/1]).
-%host(H) :- router_link(H, _, _).
-%host(H) :- router_link(_, H, _).
-% host(H).
-
router(R) :- host(R), hosts:host_config(R, _).
routers(Routers) :- setof(router(R), router(R), Routers).