From 860b70bfa6287540a8dc818b138df2ff61261d74 Mon Sep 17 00:00:00 2001 From: Hellojack <106379370+H1JK@users.noreply.github.com> Date: Thu, 9 Jun 2022 11:44:28 +0800 Subject: [PATCH] Fix typo --- Netch/Servers/V2ray/V2rayConfig.cs | 4 ++++ Netch/Servers/WireGuard/WireGuardServer.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Netch/Servers/V2ray/V2rayConfig.cs b/Netch/Servers/V2ray/V2rayConfig.cs index 2850097b..7a84228c 100644 --- a/Netch/Servers/V2ray/V2rayConfig.cs +++ b/Netch/Servers/V2ray/V2rayConfig.cs @@ -40,6 +40,10 @@ public class OutboundConfiguration public object[] servers { get; set; } + public string address { get; set; } + + public ushort port { get; set; } + public string packetEncoding { get; set; } public string plugin { get; set; } diff --git a/Netch/Servers/WireGuard/WireGuardServer.cs b/Netch/Servers/WireGuard/WireGuardServer.cs index 26bb3d14..7ceb8347 100644 --- a/Netch/Servers/WireGuard/WireGuardServer.cs +++ b/Netch/Servers/WireGuard/WireGuardServer.cs @@ -8,7 +8,7 @@ public class WireGuardServer : Server public override string MaskedData() { - return $"{LocalAddress} + {MTU}"; + return $"{LocalAddresses} + {MTU}"; } ///