diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2018-04-16 18:07:51 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2018-04-16 18:07:51 +0000 |
| commit | eec02418d83b432d797f86a9d970368849b64e3e (patch) | |
| tree | 7e8e4951cac693efe1dd7808b498ac70756320dc /sbin/etherswitchcfg | |
| parent | b6cb3eab1eebcb7ab9450c33b60ac27bc3aba2a0 (diff) | |
Notes
Diffstat (limited to 'sbin/etherswitchcfg')
| -rw-r--r-- | sbin/etherswitchcfg/ifmedia.c | 8 |
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 */ |
