diff --git a/device.c b/device.c index 88b8e27..d806484 100644 --- a/device.c +++ b/device.c @@ -200,6 +200,8 @@ cString cSatipDevice::DeviceType(void) const cString cSatipDevice::DeviceName(void) const { debug16("%s [device %u]", __PRETTY_FUNCTION__, deviceIndexM); + if (!Receiving()) + return cString::sprintf("%s %d", *DeviceType(), deviceIndexM); return deviceNameM; }