Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion TechnitiumLibrary.Net/Proxy/TransparentProxyServer.cs
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.");
Expand Down