daemon: refactored CoreInterface.mac from a string to a netaddr.EUI object, providing more functionality
This commit is contained in:
parent
cfda9509a2
commit
1829a8e2f8
8 changed files with 25 additions and 23 deletions
|
@ -460,7 +460,7 @@ def iface_to_proto(iface: CoreInterface) -> core_pb2.Interface:
|
|||
id=iface.node_id,
|
||||
net_id=net_id,
|
||||
name=iface.name,
|
||||
mac=iface.mac,
|
||||
mac=str(iface.mac),
|
||||
mtu=iface.mtu,
|
||||
flow_id=iface.flow_id,
|
||||
ip4=ip4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue