浏览代码

fix merge conflict

Matthew R. Kasun 3 年之前
父节点
当前提交
ce58eed740
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      logic/util.go

+ 1 - 1
logic/util.go

@@ -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