Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Remove the IFM_TOKEN and IFM_FDDI flags from netif.cpp: No longer ava…
Browse files Browse the repository at this point in the history
…ilable in FreeBSD as of a month ago.
  • Loading branch information
beanpole135 committed May 29, 2018
1 parent ac49ec4 commit 474ae63
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src-qt5/libtrueos/utils/netif.cpp
Expand Up @@ -146,11 +146,6 @@ QString NetworkInterface::mediaStatusAsString()

switch (IFM_TYPE(ifm.ifm_active))
{
case IFM_FDDI:
case IFM_TOKEN:
if (ifm.ifm_status & IFM_ACTIVE) status = "inserted";
else status = "no ring";
break;
case IFM_IEEE80211:
if (ifm.ifm_status & IFM_ACTIVE) status = "associated";
else status = "no carrier";
Expand Down

0 comments on commit 474ae63

Please sign in to comment.