Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
c350406e
Commit
c350406e
authored
Jul 02, 2012
by
Leigh B Stoller
Browse files
Do not add the ssh route if using a routable control IP for the VM.
parent
43359b07
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/mkvnode.pl
View file @
c350406e
...
...
@@ -604,9 +604,10 @@ if (safeLibOp('vnodeConfigDevices', 1, 1)) {
}
#
# Route to inner ssh
d
# Route to inner ssh
, but not if the IP is routable, no need to.
#
if
(
defined
(
VNCONFIG
('
SSHDPORT
'))
&&
VNCONFIG
('
SSHDPORT
')
ne
"")
{
if
(
defined
(
VNCONFIG
('
SSHDPORT
'))
&&
VNCONFIG
('
SSHDPORT
')
ne
""
&&
!
isRoutable
(
VNCONFIG
('
CTRLIP
')))
{
my
$sshdport
=
VNCONFIG
('
SSHDPORT
');
my
$ctrlip
=
VNCONFIG
('
CTRLIP
');
...
...
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