Adding missing functions in nullrouting.c

This commit is contained in:
Simon Duquennoy 2017-12-09 08:25:26 -08:00
parent 52b10b6389
commit 8db37afb28
1 changed files with 13 additions and 0 deletions

View File

@ -47,9 +47,22 @@ init(void)
{
}
/*---------------------------------------------------------------------------*/
static void
root_set_prefix(uip_ipaddr_t *prefix, uip_ipaddr_t *iid)
{
}
/*---------------------------------------------------------------------------*/
static int
root_start(void)
{
return 0;
}
/*---------------------------------------------------------------------------*/
const struct routing_driver nullrouting_driver = {
"Null Routing",
init,
root_set_prefix,
root_start,
};
/*---------------------------------------------------------------------------*/