mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-08 18:21:18 +08:00
address code review comments
This commit is contained in:
@@ -171,7 +171,7 @@ func ShouldPublishPeerPorts(serverNode *models.Node) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// NormalCidr - returns the first address of CIDR
|
||||
// NormalCIDR - returns the first address of CIDR
|
||||
func NormalizeCIDR(address string) (string, error) {
|
||||
ip, IPNet, err := net.ParseCIDR(address)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user