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
7cc8f51e
Commit
7cc8f51e
authored
Oct 05, 2011
by
Jonathon Duerig
Browse files
Bugfix: libptopgen_new now works when protogeni_exclude is non-numeric.
parent
85049860
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/libptop_new.pm.in
View file @
7cc8f51e
...
...
@@ -1028,7 +1028,7 @@ sub calculateWillPrint($;$)
# In geni mode, disallow nodes tagged protogeni_exclude from being printed.
my $geniExclude = 0;
$node->NodeAttribute("protogeni_exclude", \$geniExclude);
my $geniok = (! defined($geniExclude) || $geniExclude
== 0
);
my $geniok = (! defined($geniExclude) ||
!
$geniExclude);
my $result =
(! $available_only || $self->available())
&& (! $genimode || $geniok)
...
...
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