Skip to content
Permalink
Browse files

net: nbr: Set the link address type when saving neighbor data

The neighbor cache did not contain link address type. This is not
causing problems atm but good to fix anyway.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
  • Loading branch information...
jukkar committed May 16, 2019
1 parent d20c6f9 commit bf0f52dc4c637caeaf96b27e980e7a25ef975f0e
Showing with 1 addition and 0 deletions.
  1. +1 −0 subsys/net/ip/nbr.c
@@ -126,6 +126,7 @@ int net_nbr_link(struct net_nbr *nbr, struct net_if *iface,
net_linkaddr_set(&net_neighbor_lladdr[avail].lladdr, lladdr->addr,
lladdr->len);
net_neighbor_lladdr[avail].lladdr.len = lladdr->len;
net_neighbor_lladdr[avail].lladdr.type = lladdr->type;

nbr->iface = iface;

0 comments on commit bf0f52d

Please sign in to comment.
You can’t perform that action at this time.