Skip to content

AARCH64 Issue #22

@pankajgarg03

Description

@pankajgarg03

In the file trslib/utils.py, function list_eth_names,
the following line of code is used to identify a 64 bit OS.
os.uname()[4].endswith("_64"):

However this works for x86 since the 64 bit version ends in x86_64.
On ARM though, the architecture is AARCH64. This code breaks down and makes the wrong assumption.

The bug can be simply be fixed by changing the _64 to 64.

-Pankaj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions