mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:17:28 +00:00
Driver: fortcout: Fix packet direction on reauth
This commit is contained in:
parent
e7bffecd85
commit
458c86531b
@ -230,6 +230,10 @@ static void fort_callout_classify(const FWPS_INCOMING_VALUES0 *inFixedValues,
|
||||
|
||||
const UINT32 classify_flags = inFixedValues->incomingValue[flagsField].value.uint32;
|
||||
|
||||
if ((classify_flags & FWP_CONDITION_FLAG_IS_REAUTHORIZE) != 0) {
|
||||
inbound = (inMetaValues->packetDirection == FWP_DIRECTION_INBOUND);
|
||||
}
|
||||
|
||||
const UINT32 *remote_ip = isIPv6
|
||||
? (const UINT32 *) inFixedValues->incomingValue[remoteIpField].value.byteArray16
|
||||
: &inFixedValues->incomingValue[remoteIpField].value.uint32;
|
||||
|
Loading…
Reference in New Issue
Block a user