HomeFreeBSD

pf: Add missing byte-order swap to pf_match_addr_range

Description

pf: Add missing byte-order swap to pf_match_addr_range

Without this, rules using address ranges (e.g. "10.1.1.1 - 10.1.1.5") did not
match addresses correctly on little-endian systems.

PR: 211796
Obtained from: OpenBSD (sthen)
MFC after: 3 days

Details

Provenance
kpAuthored on
Parents
rS304151: elfcopy: silence GCC 5.3 unitialized variable warning
Branches
Unknown
Tags
Unknown