summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-01-26 10:45:44 +0200
committerGitHub <noreply@github.com>2023-01-26 10:45:44 +0200
commit1ff1fa8592f2cfd241368dd716180b23a2e9bb1b (patch)
treecd4b7afb8cad3a0294bc168be96d06ac89abcf7e /python/vyos
parentb1d2bb907c537f99ee8011947cda45084076ecba (diff)
parent03377bf973894e2959d937dfe90919ddce0868d6 (diff)
downloadvyos-1x-1ff1fa8592f2cfd241368dd716180b23a2e9bb1b.tar.gz
vyos-1x-1ff1fa8592f2cfd241368dd716180b23a2e9bb1b.zip
Merge pull request #1782 from MartB/arm64-cpu
T4956: fix 'show hardware cpu' issue on arm64
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/cpu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/cpu.py b/python/vyos/cpu.py
index 488ae79fb..d2e5f6504 100644
--- a/python/vyos/cpu.py
+++ b/python/vyos/cpu.py
@@ -73,7 +73,7 @@ def _find_physical_cpus():
# On other architectures, e.g. on ARM, there's no such field.
# We just assume they are different CPUs,
# whether single core ones or cores of physical CPUs.
- phys_cpus[num] = cpu[num]
+ phys_cpus[num] = cpus[num]
return phys_cpus