Commit 72266e8f authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

More fixes.

parent c751c6e1
...@@ -3423,10 +3423,10 @@ sub NewVirtIface($$$;$) ...@@ -3423,10 +3423,10 @@ sub NewVirtIface($$$;$)
my $query_result = my $query_result =
DBQueryFatal("insert into vinterfaces ". DBQueryFatal("insert into vinterfaces ".
"(node_id, unit, mac, IP, mask, type, iface, ". "(node_id, unit, mac, IP, mask, type, iface, ".
" rtabid, vnode_id, virtlanidx) ". " rtabid, vnode_id, exptidx, virtlanidx) ".
"values ('$pnode', 0, '$mac', '$ip', '$mask', '$type', ". "values ('$pnode', 0, '$mac', '$ip', '$mask', '$type', ".
(defined($pport) ? "'$pport'" : "NULL") . ", ". (defined($pport) ? "'$pport'" : "NULL") . ", ".
"'$rtabid', $vvnode, '$vllidx')"); "'$rtabid', $vvnode, $experiment_idx, '$vllidx')");
my $newid = $query_result->insertid; my $newid = $query_result->insertid;
$newvif = $type . $newid; $newvif = $type . $newid;
......
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