From 2d87d14da4c5cc89cd588620ac7cf70367363ab9 Mon Sep 17 00:00:00 2001 From: "Matthew R. Kasun" Date: Tue, 6 Sep 2022 09:17:13 -0400 Subject: [PATCH] networkaddress vice firstaddress --- logic/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/util.go b/logic/util.go index 7315d39b..86c8885b 100644 --- a/logic/util.go +++ b/logic/util.go @@ -182,7 +182,7 @@ func NormalizeCIDR(address string) (string, error) { IPNet.IP = net6.FirstAddress() } else { net4 := iplib.Net4FromStr(IPNet.String()) - IPNet.IP = net4.FirstAddress() + IPNet.IP = net4.NetworkAddress() } return IPNet.String(), nil }