summaryrefslogtreecommitdiff
path: root/utilities.go
diff options
context:
space:
mode:
Diffstat (limited to 'utilities.go')
-rw-r--r--utilities.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/utilities.go b/utilities.go
index 60423dc..199a8b9 100644
--- a/utilities.go
+++ b/utilities.go
@@ -26,3 +26,17 @@ func CompareStrings(strs ...string) bool {
}
return true
}
+
+// Checks for equality in two slices from typ IP
+/*
+func CompareIPs(a, b []IP) bool {
+ if len(a) != len(b) {
+ return false
+ }
+ for k := range a {
+ if a[k] != b[i] {
+ return false
+ }
+ }
+}
+*/