HomeFreeBSD

ipfw: fix copy&paste bug for number:array tables

Description

ipfw: fix copy&paste bug for number:array tables

Use compare_numarray() method for binary search. This fixes
table lookups for keys greater than UINT16_MAX.

Obtained from: Yandex LLC
MFC after: 1 week
Sponsored by: Yandex LLC

(cherry picked from commit 194df014feebd8b169b41ecd75ae73d63a792d6b)

Details

Provenance
aeAuthored on Nov 14 2023, 4:37 AM
Parents
rG05d562a4e53e: getpeerid.3: Clarify the 's' argument
Branches
Unknown
Tags
Unknown