Skip to content

Commit

Permalink
Merge pull request #610 from BastilleBSD/rdr_fix
Browse files Browse the repository at this point in the history
rdr disable directive fix
  • Loading branch information
cedwards authored Oct 4, 2023
2 parents 61e7084 + 3355c07 commit 6be0f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/share/bastille/rdr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ check_jail_validity() {
fi
# Check if jail ip6 address (ip6.addr) is valid (non-VNET only)
if [ "$(bastille config $TARGET get vnet)" != 'enabled' ]; then
if [ "$(bastille config $TARGET get ip6)" != 'disabled' ] && [ "$(bastille config $TARGET get ip6)" != 'not set' ]; then
if [ "$(bastille config $TARGET get ip6)" != 'disable' ] && [ "$(bastille config $TARGET get ip6)" != 'not set' ]; then
JAIL_IP6=$(/usr/sbin/jls -j "${TARGET}" ip6.addr 2>/dev/null)
fi
fi
Expand Down

0 comments on commit 6be0f23

Please sign in to comment.