summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorrunge <runge>2006-07-29 21:21:00 +0000
committerrunge <runge>2006-07-29 21:21:00 +0000
commita8692ae08ecca083f2653db690473fb24b4bf0a4 (patch)
treed2f00ccd24dc70d3da9afc904a4212a1bcb39219 /classes
parent569734f405eb3620cb1b144a4de5231f6b095ead (diff)
downloadlibtdevnc-a8692ae08ecca083f2653db690473fb24b4bf0a4.tar.gz
libtdevnc-a8692ae08ecca083f2653db690473fb24b4bf0a4.zip
one more tweak, start from disp 30
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/ssl/ssl_vncviewer4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/ssl/ssl_vncviewer b/classes/ssl/ssl_vncviewer
index 6d14553..820a666 100755
--- a/classes/ssl/ssl_vncviewer
+++ b/classes/ssl/ssl_vncviewer
@@ -122,7 +122,7 @@ elif uname | grep SunOS > /dev/null; then
inuse=`netstat -an -f inet -P tcp | grep LISTEN | awk '{print $1}' | sed 's/^.*\.//'`
fi
if [ "x$inuse" != "x" ]; then
- try=5920
+ try=5930
while [ $try -lt 6000 ]
do
if echo "$inuse" | grep -w $try > /dev/null; then
@@ -137,7 +137,7 @@ fi
if [ "X$use" = "X" ]; then
# otherwise choose a "random" one:
use=`date +%S`
- use=`expr $use + 5920`
+ use=`expr $use + 5930`
fi
# create the stunnel config file: