llsec: Replaced bootstrap function with a simple init function

This commit is contained in:
Konrad Krentz 2015-06-27 12:22:53 -07:00 committed by kkrentz
parent 2059b6559e
commit b522c042ec
4 changed files with 45 additions and 79 deletions

View file

@ -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
};