From b99782b2f4466270dbea0f87757df30e7b835084 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 8 Jun 2017 19:59:39 +0200 Subject: restore: Add previously missing DeviceTree data request handling --- src/restore.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/restore.c') diff --git a/src/restore.c b/src/restore.c index e2f527f..8228a51 100644 --- a/src/restore.c +++ b/src/restore.c @@ -1969,6 +1969,13 @@ int restore_handle_data_request_msg(struct idevicerestore_client_t* client, idev } } + else if (!strcmp(type, "DeviceTree")) { + if (restore_send_component(restore, client, build_identity, "DeviceTree") < 0) { + error("ERROR: Unable to send DeviceTree\n"); + return -1; + } + } + else if (!strcmp(type, "NORData")) { if((client->flags & FLAG_EXCLUDE) == 0) { if(restore_send_nor(restore, client, build_identity) < 0) { -- cgit v1.1-32-gdbae