net: if: Remove IPv6 auto addresses if the prefix is removed
The autoconfigured IPv6 addresses that are related to removed prefix, need also removed. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
3bfc1385f1
commit
57a41a2330
2 changed files with 48 additions and 2 deletions
|
@ -115,6 +115,9 @@ struct net_if_ipv6_prefix {
|
|||
/** IPv6 prefix */
|
||||
struct in6_addr prefix;
|
||||
|
||||
/** Backpointer to network interface where this prefix is used */
|
||||
struct net_if *iface;
|
||||
|
||||
/** Prefix length */
|
||||
u8_t len;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue