mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
v4.07-9448-rtm
This commit is contained in:
1 parent
7839d2939e
commit
719ee999d6
333 files changed
+1412
-346
No files matched your search
@@ -2142,6 +2142,23 @@ SESSION *NewServerSessionEx(CEDAR *cedar, CONNECTION *c, HUB *h, char *username,
|
||||
return s;
|
||||
}
|
||||
|
||||
// Check whether the specified MAC address is IPC address
|
||||
bool IsIpcMacAddress(UCHAR *mac)
|
||||
{
|
||||
// Validate arguments
|
||||
if (mac == NULL)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (mac[0] == 0xCA)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Display the session key for debugging
|
||||
void DebugPrintSessionKey(UCHAR *session_key)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user