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

Details

Provenance
aeAuthored on Nov 14 2023, 4:37 AM
Parents
rG9b57e30cf5b6: abort2: Generate a core dump
Branches
Unknown
Tags
Unknown