mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-22 10:10:46 +01:00
add protocol to printed info
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user