Skip to content

Commit

Permalink
[SQUASH ME] fix l2addr_len
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Apr 16, 2015
1 parent a3f4f77 commit bca9153
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sys/net/network_layer/ng_ndp/ng_ndp.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,8 @@ static ng_pktsnip_t *_iface_rtr_adv_build(ng_ipv6_netif_t *iface, bool final)
{
ng_pktsnip_t *pkt, *opt;
uint8_t cur_hl = 0, try_long = 0, l2addr[NG_IPV6_NC_L2_ADDR_MAX];
uint16_t adv_ltime = 0;
uint16_t adv_ltime = 0, uint16_t l2addr_len;
uint32_t reach_time = 0, retrans_timer = 0;
size_t l2addr_len;

mutex_lock(&iface->mutex);

Expand Down

0 comments on commit bca9153

Please sign in to comment.