summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-04-17 04:23:09 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-17 04:23:09 +0000
commitbb771b1f69e6136d56e0befea4e961b9ba1fad85 (patch)
treeaa312c6f951d7fcbf9cfe9fc7b06b9178ec14cac /src
parentb3069585350cce3593469703503cf6545a9d578c (diff)
parent2f80c66ca51c7aaf7f708c0edcb6d4344e82d483 (diff)
Merge "Fix the incorrect behaviour when receiving a mismatched renew lease." into rvc-dev
Diffstat (limited to 'src')
-rw-r--r--src/android/net/dhcp/DhcpClient.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android/net/dhcp/DhcpClient.java b/src/android/net/dhcp/DhcpClient.java
index 23e68fa..c13dc18 100644
--- a/src/android/net/dhcp/DhcpClient.java
+++ b/src/android/net/dhcp/DhcpClient.java
@@ -1723,6 +1723,7 @@ public class DhcpClient extends StateMachine {
Log.d(TAG, "Renewed lease not for our current IP address!");
notifyFailure();
transitionTo(mDhcpInitState);
+ return;
}
setDhcpLeaseExpiry(packet);
// Updating our notion of DhcpResults here only causes the