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
labs
BIRD Internet Routing Daemon
Commits
8ba2cc06
Commit
8ba2cc06
authored
Apr 12, 1999
by
Pavel Machek
Browse files
In case no startup function is defined, don't try to launch it.
parent
ed9a8236
Changes
1
Hide whitespace changes
Inline
Side-by-side
filter/filter.c
View file @
8ba2cc06
...
...
@@ -203,10 +203,11 @@ void
filters_postconfig
(
void
)
{
struct
f_val
res
;
printf
(
"Launching
startup
func
tion...
\n
"
);
if
(
startup
_
func
)
if
(
startup
_
func
)
{
printf
(
"Launching
startup
func
tion...
\n
"
);
res
=
interpret
(
startup_func
);
if
(
res
.
type
=
F_ERROR
)
die
(
"Startup function resulted in error."
);
printf
(
"done
\n
"
);
if
(
res
.
type
=
F_ERROR
)
die
(
"Startup function resulted in error."
);
printf
(
"done
\n
"
);
}
}
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