Fix coding style.
This commit is contained in:
parent
1e61fca653
commit
a4a7fd7dc0
|
@ -5,9 +5,9 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file
|
* \file
|
||||||
* IPv6 data structures handling functions
|
* IPv6 data structures handling functions.
|
||||||
* Comprises part of the Neighbor discovery (RFC 4861)
|
* Comprises part of the Neighbor discovery (RFC 4861)
|
||||||
* and auto configuration (RFC 4862 )state machines
|
* and auto configuration (RFC 4862) state machines.
|
||||||
* \author Mathilde Durvy <mdurvy@cisco.com>
|
* \author Mathilde Durvy <mdurvy@cisco.com>
|
||||||
* \author Julien Abeille <jabeille@cisco.com>
|
* \author Julien Abeille <jabeille@cisco.com>
|
||||||
*/
|
*/
|
||||||
|
@ -785,7 +785,7 @@ uip_ds6_route_add(uip_ipaddr_t *ipaddr, uint8_t length, uip_ipaddr_t *nexthop,
|
||||||
locroute->metric = metric;
|
locroute->metric = metric;
|
||||||
|
|
||||||
#ifdef UIP_DS6_ROUTE_STATE_TYPE
|
#ifdef UIP_DS6_ROUTE_STATE_TYPE
|
||||||
memset (&(locroute->state),0,sizeof(UIP_DS6_ROUTE_STATE_TYPE));
|
memset(&locroute->state, 0, sizeof(UIP_DS6_ROUTE_STATE_TYPE));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
PRINTF("DS6: adding route: ");
|
PRINTF("DS6: adding route: ");
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
static uip_ipaddr_t tmp_ipaddr;
|
static uip_ipaddr_t tmp_ipaddr;
|
||||||
|
|
||||||
#if UIP_CONF_IPV6_RPL
|
#if UIP_CONF_IPV6_RPL
|
||||||
int rpl_invert_header(void);
|
#include "rpl/rpl.h"
|
||||||
#endif /* UIP_CONF_IPV6_RPL */
|
#endif /* UIP_CONF_IPV6_RPL */
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue