summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-06-08 19:59:39 +0200
committerGravatar Nikias Bassen2017-06-08 19:59:39 +0200
commitb99782b2f4466270dbea0f87757df30e7b835084 (patch)
treebf21174cd209ebdde530d4a2549f36eaa9d7da4f /src/restore.c
parent0c412bad009136ceaf1f212aefdf0ef8bef0fcc2 (diff)
downloadidevicerestore-b99782b2f4466270dbea0f87757df30e7b835084.tar.gz
idevicerestore-b99782b2f4466270dbea0f87757df30e7b835084.tar.bz2
restore: Add previously missing DeviceTree data request handling
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c7
1 files changed, 7 insertions, 0 deletions
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) {