mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-03 08:36:18 +00:00
Update AppImage
This commit is contained in:
@@ -424,7 +424,13 @@ def get_network_info():
|
||||
net_if_stats = psutil.net_if_stats()
|
||||
|
||||
for interface_name, interface_addresses in net_if_addrs.items():
|
||||
if interface_name == 'lo': # Skip loopback
|
||||
# Skip loopback
|
||||
if interface_name == 'lo':
|
||||
continue
|
||||
|
||||
# Skip virtual interfaces that are not bridges
|
||||
# Keep: physical interfaces (enp*, eth*, wlan*) and bridges (vmbr*, br*)
|
||||
if not (interface_name.startswith(('enp', 'eth', 'wlan', 'vmbr', 'br'))):
|
||||
continue
|
||||
|
||||
interface_info = {
|
||||
|
Reference in New Issue
Block a user