Fix: return uint64 as iface byte counter

parent f97c6e09
......@@ -40,7 +40,7 @@ class Network(service.FunctionObject) :
with open(filename, 'w+') as network_config:
network_config.write(dump(settings))
@service.functionMethod(NETWORK_METHODS_NAMESPACE, out_signature='a{sa{si}}')
@service.functionMethod(NETWORK_METHODS_NAMESPACE, out_signature='a{sa{st}}')
def getStatistics(self):
with IPDB() as ipdb:
interfaces = [i.ifname for i in ipdb.interfaces.values()]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment