mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
Didn't remove all references to linkstatus ;-)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@910 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
8370c19025
commit
dbe5ee1f3f
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user