#634 fixed wired inactive disconnected logging as unassigned modem

This commit is contained in:
Mikayla Fischler
2025-11-08 19:13:49 -05:00
parent 32af935e9e
commit 6e26ca4fac
3 changed files with 12 additions and 0 deletions

View File

@@ -294,6 +294,10 @@ function backplane.attach(type, device, iface)
-- the wireless NIC already has a modem
log_sys("standby wireless modem connected")
log.info("BKPLN: standby wireless modem connected")
elseif wd_nic and wd_nic.is_modem(device) then
-- wired, but not active
log_sys("standby wired modem disconnected")
log.info("BKPLN: standby wired modem disconnected")
else
log_sys("unassigned modem connected")
log.warning("BKPLN: unassigned modem connected")