@@ -164,6 +164,8 @@ media_status(s, info)
|
||||
/* XXX: Different value for adhoc? */
|
||||
if (ifmr.ifm_status & IFM_ACTIVE)
|
||||
printf("associated");
|
||||
else if (ifmr.ifm_status & IFM_AVALID)
|
||||
printf("ad hoc");
|
||||
else
|
||||
printf("no carrier");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user