Commit 9a2488d7 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Make sure that portmap is cleared on a failed experiment!

parent 04ec11ea
......@@ -68,6 +68,7 @@ sub cleanup {
print STDERR "Resetting DB.\n";
DBQueryWarn("DELETE from delays where pid='$pid' and eid='$eid'");
DBQueryWarn("DELETE from vlans where pid='$pid' and eid='$eid'");
DBQueryWarn("DELETE from portmap where pid='$pid' and eid='$eid'");
SetExpState($pid, $eid, EXPTSTATE_SWAPPED);
}
......
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