mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
This is part of the TrueOS tools, and it was marked BROKEN about a year ago; a fix appeared upstream only days later, but there's been no udpate to the port. The same kind of fix probably applies to sysutils/pcbsd-utils-qt5 but I don't feel like chasing it. PR listed below is for that port, pinging maintainer(s). (All this is because we're chasing fallout for the Qt 5.13 update) PR: 231682
16 lines
569 B
Text
16 lines
569 B
Text
diff --git src/backend/NetDevice.cpp src/backend/NetDevice.cpp
|
|
index bb3a047..eb1f320 100644
|
|
--- src/backend/NetDevice.cpp
|
|
+++ src/backend/NetDevice.cpp
|
|
@@ -169,11 +169,6 @@ QString NetDevice::mediaStatusAsString(){
|
|
QString status;
|
|
|
|
switch (IFM_TYPE(ifm.ifm_active)){
|
|
- case IFM_FDDI:
|
|
- case IFM_TOKEN:
|
|
- if (ifm.ifm_status & IFM_ACTIVE) status = "inserted";
|
|
- else status = "no ring";
|
|
- break;
|
|
case IFM_IEEE80211:
|
|
if (ifm.ifm_status & IFM_ACTIVE) status = "associated";
|
|
else status = "no carrier";
|