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
f06f1d99
Commit
f06f1d99
authored
Dec 12, 2012
by
Leigh B Stoller
Browse files
Minor bug fix in vif pattern match.
parent
08ca1a04
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/xen/restorevm.pl
View file @
f06f1d99
...
...
@@ -154,7 +154,9 @@ else {
my
$ifacelist
=
eval
$xminfo
{'
vif
'};
my
@newifaces
=
();
foreach
my
$vif
(
@$ifacelist
)
{
my
(
$mac
,
$bridge
)
=
split
('
,
',
$vif
);
my
(
$mac
,
$ip
,
$bridge
)
=
split
('
,
',
$vif
);
$bridge
=
$ip
if
(
!
defined
(
$bridge
));
my
(
undef
,
$iface
)
=
split
('
=
',
$bridge
);
$iface
=~
s/eth/xenbr/
;
...
...
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