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:
Ludwig Ortmann 2014-12-17 19:03:47 +01:00
commit 695d702b4f

View File

@ -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))
{ {