Skip to content
GitLab
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
30e13688
Commit
30e13688
authored
Dec 20, 2002
by
Mac Newbold
Browse files
Make sure _all_ the mail we send has node names in it...
parent
c44540fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
event/stated/stated.in
View file @
30e13688
...
...
@@ -437,7 +437,7 @@ sub stateTransition($$) {
handleCtrlEvent
(
$node
,
$trig
);
next
;
};
notify
("
Unknown trigger '
$trig
' in
$mode
/
$newstate
!
\n
");
notify
("
Unknown trigger '
$trig
'
for
$node
in
$mode
/
$newstate
!
\n
");
}
}
...
...
@@ -484,11 +484,11 @@ sub opModeTransition($$) {
if
(
defined
(
$trans
{
$newmode
}))
{
$nextstate
=
$trans
{
$newmode
};
}
else
{
notify
("
Invalid mode transition from
"
.
notify
("
Invalid mode transition
for
$node
from
"
.
"
$mode
/
$oldstate
to
$newmode
!
\n
");
}
}
else
{
notify
("
Invalid mode transition from
$mode
/
$oldstate
:
"
.
notify
("
Invalid mode transition
for
$node
from
$mode
/
$oldstate
:
"
.
"
Not a valid mode transition state!
\n
");
}
if
(
!
$nextstate
)
{
$nextstate
=
$oldstate
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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