mirror of
				https://github.com/gravitl/netmaker.git
				synced 2025-10-28 19:11:57 +08:00 
			
		
		
		
	fix merge conflict
This commit is contained in:
		| @@ -171,7 +171,6 @@ func ShouldPublishPeerPorts(serverNode *models.Node) bool { | |||||||
| 	return false | 	return false | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| // NormalCidr - returns the first address of CIDR | // NormalCidr - returns the first address of CIDR | ||||||
| func NormalizeCIDR(address string) (string, error) { | func NormalizeCIDR(address string) (string, error) { | ||||||
| 	ip, IPNet, err := net.ParseCIDR(address) | 	ip, IPNet, err := net.ParseCIDR(address) | ||||||
| @@ -186,6 +185,7 @@ func NormalizeCIDR(address string) (string, error) { | |||||||
| 		IPNet.IP = net4.NetworkAddress() | 		IPNet.IP = net4.NetworkAddress() | ||||||
| 	} | 	} | ||||||
| 	return IPNet.String(), nil | 	return IPNet.String(), nil | ||||||
|  | } | ||||||
|  |  | ||||||
| func getNetworkProtocols(cidrs []string) (bool, bool) { | func getNetworkProtocols(cidrs []string) (bool, bool) { | ||||||
| 	ipv4 := false | 	ipv4 := false | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Matthew R. Kasun
					Matthew R. Kasun