aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorzezinho42 <lists.jjorge@free.fr>2020-05-24 09:05:10 +0200
committerzezinho42 <lists.jjorge@free.fr>2020-05-24 14:10:37 +0200
commitce7c5b0f5416a1fa1d91a0bab9576a310c958bc5 (patch)
treef4592a5f1608ae7f305f456ac364196c861e38f5 /src
parent47e9e5295baebc57cee8bb7084808f836a6e57a9 (diff)
downloadnet_monitor-ce7c5b0f5416a1fa1d91a0bab9576a310c958bc5.tar
net_monitor-ce7c5b0f5416a1fa1d91a0bab9576a310c958bc5.tar.gz
net_monitor-ce7c5b0f5416a1fa1d91a0bab9576a310c958bc5.tar.bz2
net_monitor-ce7c5b0f5416a1fa1d91a0bab9576a310c958bc5.tar.xz
net_monitor-ce7c5b0f5416a1fa1d91a0bab9576a310c958bc5.zip
add IPv6 connections
Diffstat (limited to 'src')
-rwxr-xr-xsrc/net_monitor2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_monitor b/src/net_monitor
index 5651ae8..8cc0ee2 100755
--- a/src/net_monitor
+++ b/src/net_monitor
@@ -559,7 +559,7 @@ class MonitorGui:
"""Updates connections"""
lstore = self.connections
lstore.clear()
- for proto in ["tcp", "udp"]:
+ for proto in ["tcp", "tcp6", "udp", "udp6"]:
connections = self.monitor.get_connections(proto=proto)
for loc_addr, loc_port, rem_addr, rem_port, status in connections:
iter = lstore.append()