1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Fix log msg for IKE with agressive exchange mode (#425)

This commit is contained in:
Maks Naumov 2018-01-23 18:42:20 +02:00 committed by Moataz Elmasry
parent 5eb83bbad4
commit ea4bb811ef

View File

@ -1748,7 +1748,7 @@ char *PacketLogParseProc(RECORD *rec)
{ {
t->Token[7] = CopyStr("MainMode"); t->Token[7] = CopyStr("MainMode");
} }
else if (p->L7.IkeHeader->ExchangeType == IKE_EXCHANGE_TYPE_MAIN) else if (p->L7.IkeHeader->ExchangeType == IKE_EXCHANGE_TYPE_AGGRESSIVE)
{ {
t->Token[7] = CopyStr("AgressiveMode"); t->Token[7] = CopyStr("AgressiveMode");
} }
@ -2020,7 +2020,7 @@ char *PacketLogParseProc(RECORD *rec)
{ {
t->Token[7] = CopyStr("MainMode"); t->Token[7] = CopyStr("MainMode");
} }
else if (p->L7.IkeHeader->ExchangeType == IKE_EXCHANGE_TYPE_MAIN) else if (p->L7.IkeHeader->ExchangeType == IKE_EXCHANGE_TYPE_AGGRESSIVE)
{ {
t->Token[7] = CopyStr("AgressiveMode"); t->Token[7] = CopyStr("AgressiveMode");
} }