HomeFreeBSD

ipfw: do not use errno value for error reporting

Description

ipfw: do not use errno value for error reporting

table_do_modify_record() already uses errno value on error.
Also this fixes problem when ipfw table add returns ENOTTY that
is unrelated to operation.

Tested by: dhw
Fixes: 09025a714708
Differential Revision: https://reviews.freebsd.org/D53050

(cherry picked from commit dfd822b1f0846bdaa9a14457346f7431a86d3a64)

Details

Provenance
lytboris_gmail.comAuthored on Oct 14 2025, 8:02 AM
aeCommitted on Oct 18 2025, 12:04 PM
Differential Revision
D53050: Do not report random errors as table-managing errors in ipfw
Parents
rG2efda1b8c0f9: carp6: revise the generation of ND6 NA
Branches
Unknown
Tags
Unknown