Skip to content
Browse files

net: if: Mark IPv6 address as preferred if lifetime is renewed

If the IPv6 address expires, then it is marked as deprecated.
If a renewal is received in router advertisement, then the address
can be re-used again and is marked as preferred.

Signed-off-by: Jukka Rissanen <>
  • Loading branch information...
jukkar committed Aug 17, 2018
1 parent 7aff94d commit 3bfc1385f13d3f233cd52b0cf57f7b479c210065
Showing with 2 additions and 0 deletions.
  1. +2 −0 subsys/net/ip/net_if.c
@@ -854,6 +854,8 @@ void net_if_ipv6_addr_update_lifetime(struct net_if_addr *ifaddr,

ifaddr->addr_state = NET_ADDR_PREFERRED;

address_start_timer(ifaddr, vlifetime);

0 comments on commit 3bfc138

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