Browse Source

fix ipv6 in no-wg-quick

XGFan 3 years ago
parent
commit
cdb92bf469
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netclient/wireguard/noquick.go

+ 1 - 1
netclient/wireguard/noquick.go

@@ -70,7 +70,7 @@ func ApplyWithoutWGQuick(node *models.Node, ifacename string, confPath string) e
 			netmask = netmaskArr[1]
 		}
 		mask6 = netmask
-		address6 = node.Address
+		address6 = node.Address6
 	}
 	setKernelDevice(ifacename, address4, mask4, address6, mask6)