moved prefix to avoid compiler warning
This commit is contained in:
parent
90f174509b
commit
bd6cd03c1d
1 changed files with 2 additions and 2 deletions
|
@ -130,9 +130,9 @@ static uip_nd6_opt_llao *nd6_opt_llao; /** Pointer to llao option in uip_buf
|
||||||
#if !UIP_CONF_ROUTER // TBD see if we move it to ra_input
|
#if !UIP_CONF_ROUTER // TBD see if we move it to ra_input
|
||||||
static uip_nd6_opt_prefix_info *nd6_opt_prefix_info; /** Pointer to prefix information option in uip_buf */
|
static uip_nd6_opt_prefix_info *nd6_opt_prefix_info; /** Pointer to prefix information option in uip_buf */
|
||||||
static uip_ipaddr_t ipaddr;
|
static uip_ipaddr_t ipaddr;
|
||||||
|
static uip_ds6_prefix_t *prefix; /** Pointer to a prefix list entry */
|
||||||
#endif
|
#endif
|
||||||
static uip_ds6_nbr_t *nbr; /** Pointer to a nbr cache entry*/
|
static uip_ds6_nbr_t *nbr; /** Pointer to a nbr cache entry*/
|
||||||
static uip_ds6_prefix_t *prefix; /** Pointer to a prefix list entry */
|
|
||||||
static uip_ds6_defrt_t *defrt; /** Pointer to a router list entry */
|
static uip_ds6_defrt_t *defrt; /** Pointer to a router list entry */
|
||||||
static uip_ds6_addr_t *addr; /** Pointer to an interface address */
|
static uip_ds6_addr_t *addr; /** Pointer to an interface address */
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ uip_nd6_ns_output(uip_ipaddr_t * src, uip_ipaddr_t * dest, uip_ipaddr_t * tgt)
|
||||||
UIP_ICMP_BUF->type = ICMP6_NS;
|
UIP_ICMP_BUF->type = ICMP6_NS;
|
||||||
UIP_ICMP_BUF->icode = 0;
|
UIP_ICMP_BUF->icode = 0;
|
||||||
UIP_ND6_NS_BUF->reserved = 0;
|
UIP_ND6_NS_BUF->reserved = 0;
|
||||||
uip_ipaddr_copy((uip_ipaddr_t *) & UIP_ND6_NS_BUF->tgtipaddr, tgt);
|
uip_ipaddr_copy((uip_ipaddr_t *) &UIP_ND6_NS_BUF->tgtipaddr, tgt);
|
||||||
UIP_IP_BUF->len[0] = 0; /* length will not be more than 255 */
|
UIP_IP_BUF->len[0] = 0; /* length will not be more than 255 */
|
||||||
/*
|
/*
|
||||||
* check if we add a SLLAO option: for DAD, MUST NOT, for NUD, MAY
|
* check if we add a SLLAO option: for DAD, MUST NOT, for NUD, MAY
|
||||||
|
|
Loading…
Reference in a new issue