mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
exclude `ipv6_iface_set_routing_provider() from #ifdef MODULE_RPL` so that other routing protocols can use it too.
This commit is contained in:
parent
5c9d749649
commit
a8b3c9f535
@ -863,13 +863,14 @@ void ipv6_register_next_header_handler(uint8_t next_header, kernel_pid_t pid)
|
||||
break;
|
||||
}
|
||||
}
|
||||
#ifdef MODULE_RPL
|
||||
|
||||
/* register routing function */
|
||||
void ipv6_iface_set_routing_provider(ipv6_addr_t *(*next_hop)(ipv6_addr_t *dest))
|
||||
{
|
||||
ip_get_next_hop = next_hop;
|
||||
}
|
||||
|
||||
#ifdef MODULE_RPL
|
||||
/* register source-routing indicator function */
|
||||
void ipv6_iface_set_srh_indicator(uint8_t (*srh_indi)(void))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user