mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
[Redirector] Support sub-process proxy
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
extern bool filterLoopback;
|
||||
extern bool filterIntranet;
|
||||
extern bool filterParent;
|
||||
extern bool filterICMP;
|
||||
extern bool filterTCP;
|
||||
extern bool filterUDP;
|
||||
@@ -80,6 +81,9 @@ extern "C" {
|
||||
case AIO_FILTERINTRANET:
|
||||
filterIntranet = (wstring(value).find(L"false") == string::npos);
|
||||
break;
|
||||
case AIO_FILTERPARENT:
|
||||
filterParent = (wstring(value).find(L"false") == string::npos);
|
||||
break;
|
||||
case AIO_FILTERICMP:
|
||||
filterICMP = (wstring(value).find(L"false") == string::npos);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user