mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-11 15:44:52 +08:00
fix merge conflict
This commit is contained in:
parent
d8bcf33701
commit
ce58eed740
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,6 @@ func ShouldPublishPeerPorts(serverNode *models.Node) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
|
||||
// NormalCidr - returns the first address of CIDR
|
||||
func NormalizeCIDR(address string) (string, error) {
|
||||
ip, IPNet, err := net.ParseCIDR(address)
|
||||
|
@ -186,6 +185,7 @@ func NormalizeCIDR(address string) (string, error) {
|
|||
IPNet.IP = net4.NetworkAddress()
|
||||
}
|
||||
return IPNet.String(), nil
|
||||
}
|
||||
|
||||
func getNetworkProtocols(cidrs []string) (bool, bool) {
|
||||
ipv4 := false
|
||||
|
|
Loading…
Add table
Reference in a new issue