mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-11-20 10:21:47 +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:
@ -1156,7 +1156,7 @@ void EMMain(RPC *r)
|
||||
|
||||
if (t.IsWinPcapNeeded)
|
||||
{
|
||||
if (r->Sock->RemoteIP.addr[0] != 127)
|
||||
if (IsLocalHostIP(&r->Sock->RemoteIP) == false)
|
||||
{
|
||||
// WinPcap is required, but can not do anything because it is in remote management mode
|
||||
MsgBox(NULL, MB_ICONINFORMATION, _UU("EM_WPCAP_REMOTE"));
|
||||
|
||||
Reference in New Issue
Block a user