Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
allworldit
awit-ssh-client
Commits
cfc438dc
Commit
cfc438dc
authored
Apr 01, 2017
by
Nigel Kukard
Browse files
Merge branch 'socketfix' into 'master'
Default login port if not defined in the socket name See merge request
!43
parents
d05a9d15
75fbd0de
Pipeline
#1200
passed with stages
in 3 minutes and 17 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
awit-ssh
View file @
cfc438dc
...
...
@@ -76,7 +76,7 @@ use User::pwent;
my
$NAME
=
"
AWIT-SSH-Client
";
our
$VERSION
=
"
0.8.
7
";
our
$VERSION
=
"
0.8.
8
";
print
(
STDERR
"
$NAME
v
$VERSION
- Copyright (c) 2016-2017, AllWorldIT
\n\n
");
...
...
@@ -804,7 +804,7 @@ if (defined($forwardSocket)) {
my
$vncPort
=
5900
+
$vncDisplay
;
# Add forward socket name
$libvirtSocket
=
"
$TMPDIR
/awit-ssh-vnc-
"
.
sha1_hex
("
$loginHost
:
$loginPort
:
$libvirtVNC
$$
")
.
"
.sock
";
$libvirtSocket
=
"
$TMPDIR
/awit-ssh-vnc-
"
.
sha1_hex
("
$loginHost
:
"
.
(
$loginPort
//
22
)
.
"
:
$libvirtVNC
$$
")
.
"
.sock
";
my
@libvirtArgs
=
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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