diff --git a/src/freebsd.c b/src/freebsd.c index aba91e08..888d6634 100644 --- a/src/freebsd.c +++ b/src/freebsd.c @@ -205,7 +205,6 @@ update_net_stats() struct ifaddrs *iftmp; ns->up = 1; - ns->linkstatus = 1; last_recv = ns->recv; last_trans = ns->trans; @@ -246,7 +245,6 @@ update_net_stats() ns->trans_speed = (ns->trans - last_trans) / delta; } else { ns->up = 0; - ns->linkstatus = 0; } } diff --git a/src/openbsd.c b/src/openbsd.c index 47393a10..346e03c6 100644 --- a/src/openbsd.c +++ b/src/openbsd.c @@ -213,7 +213,6 @@ update_net_stats() struct ifaddrs *iftmp; ns->up = 1; - ns->linkstatus = 1; last_recv = ns->recv; last_trans = ns->trans; @@ -254,7 +253,6 @@ update_net_stats() ns->trans_speed = (ns->trans - last_trans) / delta; } else { ns->up = 0; - ns->linkstatus = 0; } }