Maint: rename files in internal/subnet

This commit is contained in:
Quentin McGaw (desktop)
2021-08-25 17:27:10 +00:00
parent ffeeae91ab
commit 67001fa958
2 changed files with 7 additions and 4 deletions

7
internal/subnet/equal.go Normal file
View File

@@ -0,0 +1,7 @@
package subnet
import "net"
func subnetsAreEqual(a, b net.IPNet) bool {
return a.IP.Equal(b.IP) && a.Mask.String() == b.Mask.String()
}