Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
a8692ae0
Commit
a8692ae0
authored
Jul 29, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one more tweak, start from disp 30
parent
569734f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ssl_vncviewer
classes/ssl/ssl_vncviewer
+2
-2
No files found.
classes/ssl/ssl_vncviewer
View file @
a8692ae0
...
...
@@ -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
=
59
2
0
try
=
59
3
0
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
+ 59
2
0
`
use
=
`
expr
$use
+ 59
3
0
`
fi
# create the stunnel config file:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment