Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FwpTypes.cs (FWP_DATA_TYPE.FWP_SINGLE_DATA_TYPE_MAX enum value) #503

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

AlexeyRusakovich
Copy link
Contributor

Following to https://learn.microsoft.com/en-us/windows/win32/api/fwptypes/ne-fwptypes-fwp_data_type FWP_DATA_TYPE.FWP_SINGLE_DATA_TYPE_MAX has 0xff value, so i'm not able to create filter with FWP_V4_ADDR_MASK condition value type.

When i try to create filter it gives me 'An FWP_VALUE or FWPM_CONDITION_VALUE is of the wrong type.' error.

Following to https://learn.microsoft.com/en-us/windows/win32/api/fwptypes/ne-fwptypes-fwp_data_type FWP_DATA_TYPE.FWP_SINGLE_DATA_TYPE_MAX has 0xff value, so i'm not able to create filter with FWP_V4_ADDR_MASK condition  value type.
Copy link
Owner

@dahall dahall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this miss.

@dahall dahall merged commit 4904128 into dahall:master Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants