Merge pull request #2212 from Lotterleben/fix_ipv6_iface_set_routing_provider
exclude ``ipv6_iface_set_routing_provider()`` from ``#ifdef MODULE_RPL``...
This commit is contained in:
commit
695d702b4f
@ -863,13 +863,14 @@ void ipv6_register_next_header_handler(uint8_t next_header, kernel_pid_t pid)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef MODULE_RPL
|
|
||||||
/* register routing function */
|
/* register routing function */
|
||||||
void ipv6_iface_set_routing_provider(ipv6_addr_t *(*next_hop)(ipv6_addr_t *dest))
|
void ipv6_iface_set_routing_provider(ipv6_addr_t *(*next_hop)(ipv6_addr_t *dest))
|
||||||
{
|
{
|
||||||
ip_get_next_hop = next_hop;
|
ip_get_next_hop = next_hop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MODULE_RPL
|
||||||
/* register source-routing indicator function */
|
/* register source-routing indicator function */
|
||||||
void ipv6_iface_set_srh_indicator(uint8_t (*srh_indi)(void))
|
void ipv6_iface_set_srh_indicator(uint8_t (*srh_indi)(void))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user