OSDN Git Service
(root)
/
android-x86
/
system-netd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ced069
)
When deleteing a network also delete the resolver cache for that
author
Paul Jensen
<pauljensen@google.com>
Thu, 17 Apr 2014 20:05:35 +0000
(16:05 -0400)
committer
Lorenzo Colitti
<lorenzo@google.com>
Wed, 14 May 2014 08:52:19 +0000
(
01:52
-0700)
network.
Change-Id: I99d058bafea5de743e56075dbed74031da4df63f
CommandListener.cpp
patch
|
blob
|
history
diff --git
a/CommandListener.cpp
b/CommandListener.cpp
index
47b2491
..
800a9f4
100644
(file)
--- a/
CommandListener.cpp
+++ b/
CommandListener.cpp
@@
-1685,6
+1685,7
@@
int CommandListener::NetworkCommand::runCommand(SocketClient* client, int argc,
if (!sNetCtrl->destroyNetwork(netId)) {
return operationError(client, "destroyNetwork() failed");
}
+ _resolv_delete_cache_for_net(netId);
return success(client);
}