From 45bee14fec248d79a345ef970ad4933540d50dac Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 15 Jan 2009 14:49:50 +0000 Subject: 26313: --enable-custom-patchlevel unposted: WARN_CREATE_GLOBAL in tcp_log --- Functions/TCP/tcp_log | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/TCP') 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 -- cgit 1.4.1