Allow IpDadStateDeprecated, after CreateUnicastIpAddressEntry
This commit is contained in:
parent
583f2dd1f0
commit
8aa77a377d
1 changed files with 3 additions and 1 deletions
|
@ -1169,7 +1169,9 @@ static int ethsock_ip_add_del(struct ethsock *sock, uint32_t ipaddr, uint32_t ip
|
|||
}
|
||||
}
|
||||
|
||||
if (row.DadState != IpDadStatePreferred) {
|
||||
if (row.DadState == IpDadStateDeprecated) {
|
||||
fprintf(stderr, "Warning: IP address marked as deprecated.\n");
|
||||
} else if (row.DadState != IpDadStatePreferred) {
|
||||
fprintf(stderr, "Failed to add IP address (state=%d).\n", row.DadState);
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue