summaryrefslogtreecommitdiff
path: root/Functions/TCP
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/TCP')
-rw-r--r--Functions/TCP/tcp_log4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/TCP/tcp_log b/Functions/TCP/tcp_log
index e8ebaca23..04f3735fe 100644
--- a/Functions/TCP/tcp_log
+++ b/Functions/TCP/tcp_log
@@ -76,7 +76,7 @@ if (( $# != 1 )); then
fi
if [[ -n $sess ]]; then
- TCP_LOG_SESS=$1
+ typeset -g TCP_LOG_SESS=$1
if [[ -z $append ]]; then
local sesslogs
integer i
@@ -87,7 +87,7 @@ if [[ -n $sess ]]; then
done
fi
else
- TCP_LOG=$1
+ typeset -g TCP_LOG=$1
[[ -z $append ]] && : >$TCP_LOG
fi