Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
b6c19abe
Commit
b6c19abe
authored
Sep 21, 2011
by
Jonathon Duerig
Browse files
Bugfixes in the new ptopgen.
parent
6af29038
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/libptop_new.pm.in
View file @
b6c19abe
...
@@ -179,7 +179,7 @@ sub LookupPermissions()
...
@@ -179,7 +179,7 @@ sub LookupPermissions()
}
}
$dbresult =
$dbresult =
DBQueryFatal("select type ".
DBQueryFatal("select type ".
"from nodetypeXpid_permissions".
"from nodetypeXpid_permissions
".
"where pid='
$
user_project
'");
"where pid='
$
user_project
'");
while (my ($type) = $dbresult->fetchrow_array()) {
while (my ($type) = $dbresult->fetchrow_array()) {
$permissions{$type} = 1;
$permissions{$type} = 1;
...
@@ -1879,8 +1879,10 @@ sub toString($)
...
@@ -1879,8 +1879,10 @@ sub toString($)
my ($self) = @_;
my ($self) = @_;
my $result = "link ";
my $result = "link ";
$result .= $self->name() . " ";
$result .= $self->name() . " ";
$result .= $self->source() . ":" . $self->sourceif() . " ";
$result .= $self->source() . ":";
$result .= $self->dest() . ":" . $self->destif() . " ";
$result .= $self->source() . "/" . $self->sourceif() . " ";
$result .= $self->dest() . ":";
$result .= $self->dest() . "/" . $self->destif() . " ";
$result .= $self->bw()->bstr() . " ";
$result .= $self->bw()->bstr() . " ";
$result .= $self->delay() . " ";
$result .= $self->delay() . " ";
$result .= $self->loss() . " ";
$result .= $self->loss() . " ";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment