Skip to content

Commit

Permalink
Remove FDDI media detection
Browse files Browse the repository at this point in the history
FreeBSD 12 removed support for FDDI (and Token Ring). As FDDI and
Token Ring are extinct nowadays we don't nee to support this.

Signed-off-by: Matthias Schmitz <[email protected]>
  • Loading branch information
mattthias committed Apr 17, 2022
1 parent d0cc378 commit 09f67cd
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/if_media.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,21 +159,6 @@ int get_if_speed(char *ifstring)
break;
} /* end switch physical */
break;
/* FDDI interfaces */
/* fpa doesn't seem to support SIOCGIFMEDIA on FreeBSD
* so we won't get here but anyway ...
*/
case IFM_FDDI:
switch (physical) {
case IFM_FDDI_SMF:
case IFM_FDDI_MMF:
case IFM_FDDI_UTP:
speed = 100 * 1000;
break;
default:
speed = ERR_IFACE_NO_SPEED;
}
break;
#if WIRELESS
/* IEEE 802.11 wireless interfaces */
case IFM_IEEE80211:
Expand Down

0 comments on commit 09f67cd

Please sign in to comment.