Driver: Enable local broadcast always.

To use DHCP during the boot.
This commit is contained in:
Nodir Temirkhodjaev 2017-11-29 12:18:37 +05:00
parent 16919c09d3
commit 2549edac78

View File

@ -195,13 +195,16 @@ fort_callout_classify_v4 (const FWPS_INCOMING_VALUES0 *inFixedValues,
conf_flags = conf_ref->conf.flags;
flags = inFixedValues->incomingValue[flagsField].value.uint32;
if (!conf_flags.filter_enabled
|| (flags & FWP_CONDITION_FLAG_IS_LOOPBACK))
if (!conf_flags.filter_enabled)
goto permit;
flags = inFixedValues->incomingValue[flagsField].value.uint32;
remote_ip = inFixedValues->incomingValue[remoteIpField].value.uint32;
if ((flags & FWP_CONDITION_FLAG_IS_LOOPBACK)
|| remote_ip == 0xFFFFFFFF) // Local broadcast
goto permit;
process_id = (UINT32) inMetaValues->processId;
path_len = inMetaValues->processPath->size - sizeof(WCHAR); // chop terminating zero
path = inMetaValues->processPath->data;