summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/device.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index fbb3ecb..11aecc3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -312,15 +312,16 @@ gboolean device_get_info(const char *uuid, device_info_t *device_info, GError **
lockdownd_get_value(client, NULL, "ProductType", &node);
if (node) {
char *devtype = NULL;
- const char *devtypes[8][2] = {
+ const char *devtypes[9][2] = {
{"iPhone1,1", "iPhone"},
{"iPhone1,2", "iPhone 3G"},
{"iPhone2,1", "iPhone 3GS"},
{"iPhone3,1", "iPhone 4"},
{"iPad1,1", "iPad"},
{"iPod1,1", "iPod Touch"},
- {"iPod2,1", "iPod touch (2G)"},
- {"iPod3,1", "iPod Touch (3G)"}
+ {"iPod2,1", "iPod Touch (2G)"},
+ {"iPod3,1", "iPod Touch (3G)"},
+ {"iPod4,1", "iPod Touch (4G)"}
};
plist_get_string_val(node, &devtype);
if (devtype) {