shill: l2tpipsec: Cleanup on disconnect.
Previously, we would mark the service as disconnected but we would
leave a bunch of resources around such as the l2tpipsec_manager
process.
BUG=chromium-os:36095
TEST=unit tests; established l2tp/ipsec, shut down server, checked
that shill disconnects right away and shuts down l2tpipsec_vpn and
pppd on the client.
Change-Id: I729eac375ca2229311decd52e20acfa4332e2a59
Reviewed-on: https://gerrit.chromium.org/gerrit/38019
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
diff --git a/rpc_task.cc b/rpc_task.cc
index 6e82fc5..906bc3c 100644
--- a/rpc_task.cc
+++ b/rpc_task.cc
@@ -23,11 +23,11 @@
unique_name_(base::UintToString(serial_number_++)),
adaptor_(control_interface->CreateRPCTaskAdaptor(this)) {
CHECK(delegate);
- SLOG(Task, 2) << "RPCTask " + unique_name_ + " created.";
+ LOG(INFO) << "RPCTask " + unique_name_ + " created.";
}
RPCTask::~RPCTask() {
- SLOG(Task, 2) << "RPCTask " + unique_name_ + " destroyed.";
+ LOG(INFO) << "RPCTask " + unique_name_ + " destroyed.";
}
void RPCTask::GetLogin(string *user, string *password) {