diff --git a/TechnitiumLibrary.Net/Proxy/TransparentProxyServer.cs b/TechnitiumLibrary.Net/Proxy/TransparentProxyServer.cs index 8e44dcec..7e007f94 100644 --- a/TechnitiumLibrary.Net/Proxy/TransparentProxyServer.cs +++ b/TechnitiumLibrary.Net/Proxy/TransparentProxyServer.cs @@ -1,6 +1,7 @@ /* Technitium Library Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com) +Copyright (C) 2026 Zafer Balkan (zafer@zaferbalkan.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -63,7 +64,7 @@ public TransparentProxyServer(IProxyServerConnectionManager connectionManager = public TransparentProxyServer(IPEndPoint localEP, IProxyServerConnectionManager connectionManager = null, TransparentProxyServerMethod method = TransparentProxyServerMethod.DNAT, int backlog = 10) { - if (_method != TransparentProxyServerMethod.Tunnel) + if (method != TransparentProxyServerMethod.Tunnel) { if (Environment.OSVersion.Platform != PlatformID.Unix) throw new NotSupportedException("Only Unix/Linux is supported.");