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

More fixes.

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