Skip to content

Commit

Permalink
Fix compile problem
Browse files Browse the repository at this point in the history
Change-Id: Ia1d86ec7e05241fe96c822216bcbe4d2620fd4ae
  • Loading branch information
Juha Heiskanen committed Oct 17, 2018
1 parent 1472b02 commit 16359eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/6LoWPAN/Thread/thread_management_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ int thread_management_get_ml_prefix_112(int8_t interface_id, uint8_t *prefix_ptr
*/
int thread_dhcpv6_server_add(int8_t interface_id, uint8_t *prefix_ptr, uint32_t max_client_cnt, bool stableData)
{
#ifdef HAVE_DHCPV6_SERVER
#if defined(HAVE_THREAD) && defined(HAVE_DHCPV6_SERVER)
protocol_interface_info_entry_t *cur;
thread_prefix_tlv_t prefixTlv;
thread_border_router_tlv_entry_t service;
Expand Down Expand Up @@ -665,7 +665,7 @@ int thread_dhcpv6_server_add(int8_t interface_id, uint8_t *prefix_ptr, uint32_t

int thread_dhcpv6_server_set_lifetime(int8_t interface_id, uint8_t *prefix_ptr, uint32_t valid_lifetime)
{
#ifdef HAVE_DHCPV6_SERVER
#if defined(HAVE_THREAD) && defined(HAVE_DHCPV6_SERVER)
if (!prefix_ptr) {
return -1;
}
Expand All @@ -681,7 +681,7 @@ int thread_dhcpv6_server_set_lifetime(int8_t interface_id, uint8_t *prefix_ptr,

int thread_dhcpv6_server_set_max_client(int8_t interface_id, uint8_t *prefix_ptr, uint32_t max_client_count)
{
#ifdef HAVE_DHCPV6_SERVER
#if defined(HAVE_THREAD) && defined(HAVE_DHCPV6_SERVER)
if (!prefix_ptr) {
return -1;
}
Expand All @@ -697,7 +697,7 @@ int thread_dhcpv6_server_set_max_client(int8_t interface_id, uint8_t *prefix_ptr

int thread_dhcpv6_server_set_anonymous_addressing(int8_t interface_id, uint8_t *prefix_ptr, bool anonymous)
{
#ifdef HAVE_DHCPV6_SERVER
#if defined(HAVE_THREAD) && defined(HAVE_DHCPV6_SERVER)
if (!prefix_ptr) {
return -1;
}
Expand All @@ -715,7 +715,7 @@ int thread_dhcpv6_server_set_anonymous_addressing(int8_t interface_id, uint8_t *

int thread_dhcpv6_server_delete(int8_t interface_id, uint8_t *prefix_ptr)
{
#ifdef HAVE_DHCPV6_SERVER
#if defined(HAVE_THREAD) && defined(HAVE_DHCPV6_SERVER)
uint8_t temp[16];
protocol_interface_info_entry_t *cur;
thread_prefix_tlv_t prefixTlv;
Expand Down

0 comments on commit 16359eb

Please sign in to comment.