From 9526c016157687ac8fb3ccfcb4709755acf5d53f Mon Sep 17 00:00:00 2001 From: Amin Ben Ramdhane Date: Wed, 23 Dec 2020 16:05:09 +0100 Subject: [PATCH] Device.DeviceInfo.Processor.{i}.Architecture: add aarch64 as arm architecture --- dmtree/tr181/deviceinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmtree/tr181/deviceinfo.c b/dmtree/tr181/deviceinfo.c index 45160254..65d4ed18 100644 --- a/dmtree/tr181/deviceinfo.c +++ b/dmtree/tr181/deviceinfo.c @@ -417,7 +417,7 @@ static int get_DeviceInfoProcessor_Architecture(char *refparam, struct dmctx *ct if (uname(&utsname) < 0) return 0; - if (strstr(utsname.machine, "arm")) { + if (strstr(utsname.machine, "arm") || strstr(utsname.machine, "aarch64")) { *value = "arm"; } else if(strstr(utsname.machine, "mips")) { const bool is_big_endian = IS_BIG_ENDIAN;