mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Change IP structure so that IPv4 addresses are stored in RFC3493 format
In addition to saving 4 bytes for each instantiation, this change makes IP-related operations faster and clearer. https://tools.ietf.org/html/rfc3493.html#section-3.7
This commit is contained in:
1 parent
01663f836d
commit
1708998a11
21 files changed
+295
-403
No files matched your search
+1
-1
@@ -8267,7 +8267,7 @@ void SmBridgeDlg(HWND hWnd, SM_SERVER *s)
|
||||
|
||||
if (t.IsWinPcapNeeded)
|
||||
{
|
||||
if (s->Rpc->Sock->RemoteIP.addr[0] != 127)
|
||||
if (IsLocalHostIP(&s->Rpc->Sock->RemoteIP) == false)
|
||||
{
|
||||
// WinPcap is required, but can not do anything because it is in remote control mode
|
||||
MsgBox(hWnd, MB_ICONINFORMATION, _UU("SM_BRIDGE_WPCAP_REMOTE"));
|
||||
|
||||
Reference in new issue
Block a user