Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
79c24ee0
Commit
79c24ee0
authored
Aug 04, 2009
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fixes.
parent
c6f7c01f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tbsetup/libvtop.pm.in
tbsetup/libvtop.pm.in
+4
-4
No files found.
tbsetup/libvtop.pm.in
View file @
79c24ee0
...
...
@@ -5485,14 +5485,14 @@ sub UpLoadTunnels($)
}
my $iface0 = $tunnel->AddInterface($pnodename0,
$member0->vnode(),
$member0->vport
0
());
$member0->vport());
if (!defined($iface0)) {
tberror("Could not add $member0 to $tunnel\n");
return -1;
}
my $iface1 = $tunnel->AddInterface($pnodename1,
$member1->vnode(),
$member1->vport
0
());
$member1->vport());
if (!defined($iface1)) {
tberror("Could not add $member1 to $tunnel\n");
return -1;
...
...
@@ -5509,7 +5509,7 @@ sub UpLoadTunnels($)
$iface0->SetAttribute("tunnel_ipmask", $mask) ||
$iface0->SetAttribute("tunnel_serverport", $ipport) ||
$iface0->SetAttribute("tunnel_lan", $virtlan->vname()) ||
$iface0->SetAttribute("tunnel_unit", $iface0->memberid()) ||
$iface0->SetAttribute("tunnel_unit", $iface0->memberid()
+ 1
) ||
$iface0->SetAttribute("tunnel_style", $virtlan->_encapstyle())) {
tberror("Could not set attributes for $iface0 in $tunnel\n");
return -1;
...
...
@@ -5524,7 +5524,7 @@ sub UpLoadTunnels($)
$iface1->SetAttribute("tunnel_ipmask", $mask) ||
$iface1->SetAttribute("tunnel_serverport", $ipport) ||
$iface1->SetAttribute("tunnel_lan", $virtlan->vname()) ||
$iface1->SetAttribute("tunnel_unit", $iface1->memberid()) ||
$iface1->SetAttribute("tunnel_unit", $iface1->memberid()
+ 1
) ||
$iface1->SetAttribute("tunnel_style", $virtlan->_encapstyle())) {
tberror("Could not set attributes for $iface1 in $tunnel\n");
return -1;
...
...
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