summaryrefslogtreecommitdiff
path: root/ip
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-11-22 13:33:14 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2023-11-22 13:33:14 +0100
commita07086b9255ea72459f6262884c58fd7bc9294e7 (patch)
tree3d27fae268f0e00fcabab5150b3321e21a4e5a8e /ip
parent11defdcf845b5ee74d4da5de581079f14c9d0729 (diff)
downloadprolog-firewall-a07086b9255ea72459f6262884c58fd7bc9294e7.tar.gz
prolog-firewall-a07086b9255ea72459f6262884c58fd7bc9294e7.tar.bz2
prolog-firewall-a07086b9255ea72459f6262884c58fd7bc9294e7.tar.xz
prolog-firewall-a07086b9255ea72459f6262884c58fd7bc9294e7.zip
ip
Diffstat (limited to 'ip')
-rw-r--r--ip/ip.pl2
-rw-r--r--ip/test.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/ip/ip.pl b/ip/ip.pl
index 259ecf9..03c6350 100644
--- a/ip/ip.pl
+++ b/ip/ip.pl
@@ -5,8 +5,6 @@
:- use_module(library(charsio)).
:- use_module(library(serialization/abnf)).
-big(A, B, C) :- C #= A^B.
-
make_ip4(A, B, C, D, Addr) :-
A #>= 0, A #=< 255,
B #>= 0, B #=< 255,
diff --git a/ip/test.pl b/ip/test.pl
index f96ca63..11a2c37 100644
--- a/ip/test.pl
+++ b/ip/test.pl
@@ -1,3 +1,5 @@
+% vim: syntax=prolog
+
:- module(test, [
test_main/0,
test_main/1]).