Commit b6c19abe authored by Jonathon Duerig's avatar Jonathon Duerig

Bugfixes in the new ptopgen.

parent 6af29038
......@@ -179,7 +179,7 @@ sub LookupPermissions()
}
$dbresult =
DBQueryFatal("select type ".
"from nodetypeXpid_permissions".
"from nodetypeXpid_permissions ".
"where pid='$user_project'");
while (my ($type) = $dbresult->fetchrow_array()) {
$permissions{$type} = 1;
......@@ -1879,8 +1879,10 @@ sub toString($)
my ($self) = @_;
my $result = "link ";
$result .= $self->name() . " ";
$result .= $self->source() . ":" . $self->sourceif() . " ";
$result .= $self->dest() . ":" . $self->destif() . " ";
$result .= $self->source() . ":";
$result .= $self->source() . "/" . $self->sourceif() . " ";
$result .= $self->dest() . ":";
$result .= $self->dest() . "/" . $self->destif() . " ";
$result .= $self->bw()->bstr() . " ";
$result .= $self->delay() . " ";
$result .= $self->loss() . " ";
......
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