Commit f06f1d99 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix in vif pattern match.

parent 08ca1a04
......@@ -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/;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment