HomeFreeBSD

pfctl: fix CREATE_TABLE error handling

Description

pfctl: fix CREATE_TABLE error handling

pfr_add_table() does not set errno, it returns an error (now).
Read the error code from the return value so we display the correct
error message to the user.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jul 13 2026, 1:14 PM
Parents
rGb3b4763bc1ed: sys/exterrvar.h: forward declare struct thread
Branches
Unknown
Tags
Unknown