[Bug 211796] missing htonl calls in pf range check

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 15 12:13:42 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211796

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kp
Date: Mon Aug 15 12:13:14 UTC 2016
New revision: 304152
URL: https://svnweb.freebsd.org/changeset/base/304152

Log:
  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

Changes:
  head/sys/netpfil/pf/pf.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pf mailing list