Explorar el Código

fix missing digit

Matthew R Kasun hace 3 años
padre
commit
4fd3efd1f1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      logic/wireguard.go

+ 1 - 1
logic/wireguard.go

@@ -166,7 +166,7 @@ func initWireguard(node *models.Node, privkey string, peers []wgtypes.PeerConfig
 		if network.AddressRange6 != "" {
 			net := strings.Split(network.AddressRange6, "/")
 			mask6 = net[len(net)-1]
-			address6 = node.Address
+			address6 = node.Address6
 		}
 
 		setKernelDevice(ifacename, address4, mask4, address6, mask6)