Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 818cbe49 authored by Emilio López's avatar Emilio López
Browse files

Don't renew the leases if mDhcpInfo.leaseDuration is not positive

Some routers might give out really long or static leases, which we
shouldn't renew. mDhcpInfo.leaseDuration is -1 when this happens,
so don't try to renew the lease if it's value is not positive.

Change-Id: I8cf404347e1122489886662e2f42b10f98917d39
parent c984e3b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment