diff --git a/Netch/Controllers/NFController.cs b/Netch/Controllers/NFController.cs index 8ec8014f..5eaaa570 100644 --- a/Netch/Controllers/NFController.cs +++ b/Netch/Controllers/NFController.cs @@ -43,11 +43,8 @@ namespace Netch.Controllers #endregion - if (Global.Settings.RedirectDNS) - aio_dial((int) NameList.TYPE_REDIRCTOR_DNS, Global.Settings.RedirectDNSAddr); - - if (Global.Settings.RedirectICMP) - aio_dial((int) NameList.TYPE_REDIRCTOR_ICMP, Global.Settings.RedirectICMPAddr); + aio_dial((int)NameList.TYPE_REDIRCTOR_DNS, Global.Settings.RedirectDNS ? Global.Settings.RedirectDNSAddr : ""); + aio_dial((int)NameList.TYPE_REDIRCTOR_ICMP, Global.Settings.RedirectICMP ? Global.Settings.RedirectICMPAddr : ""); aio_dial((int) NameList.TYPE_FILTERCHILDPROC, Global.Settings.ChildProcessHandle.ToString().ToLower()); diff --git a/binaries b/binaries index 61b435e2..cb0178da 160000 --- a/binaries +++ b/binaries @@ -1 +1 @@ -Subproject commit 61b435e28cac8bb495131a1a9fe31e262c61d6b8 +Subproject commit cb0178da91dad3c8ca80099e978be3118c5d318f diff --git a/modes b/modes index 42375ef7..72ad96d0 160000 --- a/modes +++ b/modes @@ -1 +1 @@ -Subproject commit 42375ef7245c4aaa9c1edbf0b9fa7a2a2bc2329d +Subproject commit 72ad96d018f68884944231d98e7c7fdf415922e5