Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cedar/Client.c')
-rw-r--r--src/Cedar/Client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cedar/Client.c b/src/Cedar/Client.c
index 3af48a45..a86c4ea9 100644
--- a/src/Cedar/Client.c
+++ b/src/Cedar/Client.c
@@ -431,7 +431,7 @@ void CiChangeAllVLanMacAddress(CLIENT *c)
RPC_CLIENT_ENUM_VLAN_ITEM *e = t.Items[i];
UCHAR mac[6];
- if (StrToMac(mac, e->MacAddress) && mac[1] == 0xAC)
+ if (StrToMac(mac, e->MacAddress) && ((mac[0] == 0x00 && mac[1] == 0xAC) || (mac[0] = 0x5E)))
{
char *name = e->DeviceName;
RPC_CLIENT_SET_VLAN s;