aboutsummaryrefslogtreecommitdiff
path: root/sbin/etherswitchcfg/ifmedia.c
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-04-16 18:07:51 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-04-16 18:07:51 +0000
commiteec02418d83b432d797f86a9d970368849b64e3e (patch)
tree7e8e4951cac693efe1dd7808b498ac70756320dc /sbin/etherswitchcfg/ifmedia.c
parentb6cb3eab1eebcb7ab9450c33b60ac27bc3aba2a0 (diff)
downloadsrc-eec02418d83b432d797f86a9d970368849b64e3e.tar.gz
src-eec02418d83b432d797f86a9d970368849b64e3e.zip
Remove support for FDDI and token ring media types in userland utilities.
Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15077
Notes
Notes: svn path=/head/; revision=332630
Diffstat (limited to 'sbin/etherswitchcfg/ifmedia.c')
-rw-r--r--sbin/etherswitchcfg/ifmedia.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sbin/etherswitchcfg/ifmedia.c b/sbin/etherswitchcfg/ifmedia.c
index 0857629ac0fa..4bd6582f185f 100644
--- a/sbin/etherswitchcfg/ifmedia.c
+++ b/sbin/etherswitchcfg/ifmedia.c
@@ -159,14 +159,6 @@ media_status(int s)
printf("no carrier");
break;
- case IFM_FDDI:
- case IFM_TOKEN:
- if (ifmr.ifm_status & IFM_ACTIVE)
- printf("inserted");
- else
- printf("no ring");
- break;
-
case IFM_IEEE80211:
if (ifmr.ifm_status & IFM_ACTIVE) {
/* NB: only sta mode associates */