Skip to content

Commit

Permalink
Merge pull request #901
Browse files Browse the repository at this point in the history
Fix: Apply DNS from RA rdnss after interface ifdown/ifup (bsc#1181429)
  • Loading branch information
mtomaschewski committed Mar 11, 2022
2 parents 8bc44ba + 7b620cc commit bfaba81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/auto6.c
Expand Up @@ -987,6 +987,7 @@ ni_auto6_acquire(ni_netdev_t *dev, const ni_auto6_request_t *req)
if (!dev || !(auto6 = ni_netdev_get_auto6(dev)) || !req || !req->enabled)
return -1;

auto6->enabled = TRUE;
ni_uuid_generate(&auto6->uuid);
if (!(lease = ni_auto6_get_lease(dev))) {
if ((lease = ni_auto6_new_lease(NI_ADDRCONF_STATE_REQUESTING, &auto6->uuid))) {
Expand Down

0 comments on commit bfaba81

Please sign in to comment.