14 lines
483 B
Plaintext
14 lines
483 B
Plaintext
$OpenBSD: patch-fea_ifconfig_media_cc,v 1.1 2007/06/09 16:45:50 naddy Exp $
|
|
--- fea/ifconfig_media.cc.orig Fri Jun 8 00:04:20 2007
|
|
+++ fea/ifconfig_media.cc Fri Jun 8 00:04:52 2007
|
|
@@ -95,7 +95,9 @@ ifconfig_media_get_link_status(const string& if_name,
|
|
switch (IFM_TYPE(ifmr.ifm_active)) {
|
|
case IFM_ETHER:
|
|
case IFM_FDDI:
|
|
+#if defined(IFM_TOKEN)
|
|
case IFM_TOKEN:
|
|
+#endif
|
|
case IFM_IEEE80211:
|
|
if ((ifmr.ifm_status & IFM_AVALID)
|
|
&& (ifmr.ifm_status & IFM_ACTIVE)) {
|