netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=5774ce721b0fcaef8707ae26f21b9d48d21c5533

commit 5774ce721b0fcaef8707ae26f21b9d48d21c5533
Author: Alastair Poole <nets...@gmail.com>
Date:   Wed Mar 10 17:02:18 2021 +0000

    network: dont hide stuff
---
 src/bin/system/machine/network.bogox | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/system/machine/network.bogox 
b/src/bin/system/machine/network.bogox
index 563b6fa..43d047a 100644
--- a/src/bin/system/machine/network.bogox
+++ b/src/bin/system/machine/network.bogox
@@ -38,8 +38,6 @@ _freebsd_generic_network_status(int *n)
         };
         len = sizeof(*ifmd);
         if (sysctl(mib, 6, ifmd, &len, NULL, 0) < 0) continue;
-        if (!strcmp(ifmd->ifmd_name, "lo0"))
-          continue;
 
         net_iface_t *iface = malloc(sizeof(net_iface_t));
         if (iface)
@@ -97,10 +95,12 @@ _openbsd_generic_network_status(int *n)
         net_iface_t *iface = malloc(sizeof(net_iface_t));
         if (!iface) return NULL;
 
+/*
         if (ifi->ifi_type == IFT_ETHER ||
             ifi->ifi_type == IFT_FASTETHER ||
             ifi->ifi_type == IFT_GIGABITETHERNET ||
             ifi->ifi_type == IFT_IEEE80211)
+*/
           {
              net_iface_t *iface = malloc(sizeof(net_iface_t));
              if (iface)

-- 


Reply via email to