diff options
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/base.py')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/base.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py index 846797c20..022464476 100644 --- a/mpm/python/usrp_mpm/periph_manager/base.py +++ b/mpm/python/usrp_mpm/periph_manager/base.py @@ -353,7 +353,10 @@ class PeriphManagerBase(object): self.chdr_interfaces )) valid_ifaces = net.get_valid_interfaces(self.chdr_interfaces) - self.log.debug("Found CHDR interfaces: `{}'".format(valid_ifaces)) + if len(valid_ifaces): + self.log.debug("Found CHDR interfaces: `{}'".format(valid_ifaces)) + else: + self.log.warning("No CHDR interfaces found!") self._chdr_interfaces = { x: net.get_iface_info(x) for x in valid_ifaces |