From 4b5655470a663df9d62f2bb9568ae4f3640d9c2b Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Wed, 11 Dec 2024 11:36:10 -0700 Subject: [PATCH] add protocol to printed info --- usr/local/share/bastille/rdr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/rdr.sh b/usr/local/share/bastille/rdr.sh index f2a2c118..92733ada 100644 --- a/usr/local/share/bastille/rdr.sh +++ b/usr/local/share/bastille/rdr.sh @@ -155,7 +155,7 @@ if [ -n "$JAIL_IP6" ]; then fi info "[${JAIL_NAME}]:" info "Redirecting:" -info "${src}:${host_port} -> ${dst}:${jail_port} on ${1}" +info "${proto} ${src}:${host_port} -> ${dst}:${jail_port} on ${1}" } # function: load rdr rule with log via pfctl @@ -178,7 +178,7 @@ if [ -n "$JAIL_IP6" ]; then fi info "[${JAIL_NAME}]:" info "Redirecting:" -info "${src}:${host_port} -> ${dst}:${jail_port} on ${1}" +info "${proto} ${src}:${host_port} -> ${dst}:${jail_port} on ${1}" }