mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03:00
resolved: don't consider tentative addresses relevant
This commit is contained in:
parent
cc7844e787
commit
7b85d72f82
@ -519,7 +519,7 @@ int link_address_update_rtnl(LinkAddress *a, sd_rtnl_message *m) {
|
||||
bool link_address_relevant(LinkAddress *a) {
|
||||
assert(a);
|
||||
|
||||
if (a->flags & IFA_F_DEPRECATED)
|
||||
if (a->flags & (IFA_F_DEPRECATED|IFA_F_TENTATIVE))
|
||||
return false;
|
||||
|
||||
if (IN_SET(a->scope, RT_SCOPE_HOST, RT_SCOPE_NOWHERE))
|
||||
|
Loading…
Reference in New Issue
Block a user