mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-04-18 14:46:16 -04:00
fix: Reticulum:interface stats - maintain Interface name
Keep the Interface.name consistent across the API, since it is the unique ID for the Interface.
This commit is contained in:
parent
0ff51fed44
commit
10a11e26f2
@ -1020,7 +1020,8 @@ class Reticulum:
|
||||
else:
|
||||
ifstats["announce_queue"] = None
|
||||
|
||||
ifstats["name"] = str(interface)
|
||||
ifstats["name"] = str(interface.name)
|
||||
ifstats["repr_name"] = str(interface)
|
||||
ifstats["short_name"] = str(interface.name)
|
||||
ifstats["hash"] = interface.get_hash()
|
||||
ifstats["type"] = str(type(interface).__name__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user