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
4d526664
Commit
4d526664
authored
Jun 28, 2009
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A couple of little bug fixes.
parent
5d9d7860
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
tbsetup/libvtop.pm.in
tbsetup/libvtop.pm.in
+9
-2
No files found.
tbsetup/libvtop.pm.in
View file @
4d526664
...
...
@@ -4072,6 +4072,9 @@ sub InterpLinks($)
my $pnode = $self->pnodes()->{$self->solution_v2p()->{$virtual}};
my $virtnode = $self->vnodes()->{$virtual};
# internally created node ...
next
if (!defined($virtnode));
next
if ($pnode->_reuse() eq "unused");
next
...
...
@@ -4588,9 +4591,13 @@ sub NewVirtIface($$$$;$)
#
# For veth and vlan interfaces, we need to set the characteristics
# of the underlying physical interface.
# of the underlying physical interface, but only if we actually own
# the node; it might be a veth on a shread physical node.
#
# If the pnode is a shared host, we do not want to do this; the physical
# interfaces are all set up the right way, do not mess it up.
#
if (defined($pport) && $isvdev) {
if (defined($pport) && $isvdev
&& !$pnode->_sharedhost()
) {
my $speed = $self->interfacespeedmbps(physinterfacetype($pnode,$pport),
"ethernet");
my $trunk = ($type eq "vlan" ? 1 : 0);
...
...
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