daemon: refactored CoreInterface.mac from a string to a netaddr.EUI object, providing more functionality

This commit is contained in:
Blake Harnden 2020-06-19 15:21:45 -07:00
parent cfda9509a2
commit 1829a8e2f8
8 changed files with 25 additions and 23 deletions

View file

@ -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,