| Previous | Next |
| FWP_E_INVALID_FLAGS | FWP_E_INVALID_RANGE |
FWP_E_INVALID_NET_MASK
FWP_E_INVALID_NET_MASK means a filter condition contains an invalid network mask. The address type, mask representation, and selected filtering layer must be consistent.
What to verify
- Use a contiguous mask and make sure it matches the address family of the address being filtered.
- Check whether the API expects an address-and-mask structure, a prefix length, or another WFP value type.
- Test the final filter against representative local and remote addresses before deploying it broadly.
Microsoft: WFP filtering layer identifiers
Looking for a different code? Search another status or error code.
