llsec: Replaced bootstrap function with a simple init function
This commit is contained in:
parent
2059b6559e
commit
b522c042ec
4 changed files with 45 additions and 79 deletions
|
@ -49,11 +49,9 @@
|
|||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
bootstrap(llsec_on_bootstrapped_t on_bootstrapped)
|
||||
init(void)
|
||||
{
|
||||
if(on_bootstrapped) {
|
||||
on_bootstrapped();
|
||||
}
|
||||
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
|
@ -71,7 +69,7 @@ input(void)
|
|||
/*---------------------------------------------------------------------------*/
|
||||
const struct llsec_driver nullsec_driver = {
|
||||
"nullsec",
|
||||
bootstrap,
|
||||
init,
|
||||
send,
|
||||
input
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue