Merge pull request #873 from BastilleBSD/tschettervictor-patch-1

rdr: Fix wrong variable on reset command
This commit is contained in:
tschettervictor
2025-02-24 07:07:07 -07:00
committed by GitHub

View File

@@ -321,7 +321,7 @@ while [ "$#" -gt 0 ]; do
check_jail_validity
echo "${TARGET} redirects:"
pfctl -a "rdr/${TARGET}" -Fn
if rm -f "${bastille_jailsdir}/${_jail}/rdr.conf"; then
if rm -f "${bastille_jailsdir}/${TARGET}/rdr.conf"; then
info "[${TARGET}]: rdr.conf removed"
fi
fi