Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checkpolicy: perform contiguous check in host byte order
The contiguous check for network masks requires host byte order on the underlying integers. Convert from network byte order to avoid wrong warnings. Fixes: 01b88ac ("checkpolicy: warn on bogus IP address or netmask in nodecon statement") Signed-off-by: Christian Göttsche <[email protected]> Acked-by: James Carter <[email protected]>
- Loading branch information