CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/09/16 06:47:12
Modified files:
usr.sbin/relayd: pfe_filter.c
Log message:
relayd: Explicitly flush redirect rules after reloading
If a config update disabled a redirect, the corresponding NAT rule was
not getting flushed. This is because the F_ACTIVE_RULESET flag does not
get preserved across reloads, so pfe_sync() doesn't know to disable the
rule. Update init_tables() to handle this.
Backport of FreeBSD relayd commit (Marius Halden <mhalden X entersekt X com>),
Reported by Mark Johnston <markj X freebsd X org>
OK kirill@