Skip to content

Commit

Permalink
Merge pull request #4850 from OlegHahm/gnrc_ndp_ra_nce_fix
Browse files Browse the repository at this point in the history
ndp: fix NCE creation on RA reception
  • Loading branch information
cgundogan committed Feb 19, 2016
2 parents 3eafe47 + fc398d8 commit 3332723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/network_layer/ndp/gnrc_ndp.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ void gnrc_ndp_rtr_adv_handle(kernel_pid_t iface, gnrc_pktsnip_t *pkt, ipv6_hdr_t
if (nc_entry == NULL) { /* not in default router list */
/* create default router list entry */
nc_entry = gnrc_ipv6_nc_add(iface, &ipv6->src, NULL, 0,
GNRC_IPV6_NC_IS_ROUTER);
GNRC_IPV6_NC_STATE_STALE | GNRC_IPV6_NC_IS_ROUTER);
if (nc_entry == NULL) {
DEBUG("ndp: error on default router list entry creation\n");
return;
Expand Down

0 comments on commit 3332723

Please sign in to comment.