We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f904c6c commit 2283d6dCopy full SHA for 2283d6d
netdiff/parsers/openvpn.py
@@ -41,10 +41,10 @@ def parse(self, data):
41
client_properties = {
42
'label': client.common_name,
43
'real_address': str(client.real_address.host),
44
- 'port': client.real_address.port,
+ 'port': int(client.real_address.port),
45
'connected_since': client.connected_since.strftime('%Y-%m-%dT%H:%M:%SZ'),
46
- 'bytes_received': client.bytes_received,
47
- 'bytes_sent': client.bytes_sent
+ 'bytes_received': int(client.bytes_received),
+ 'bytes_sent': int(client.bytes_sent)
48
}
49
local_addresses = [
50
str(route.virtual_address)
0 commit comments