diff --git a/sys/apps/network/snmp.lua b/sys/apps/network/snmp.lua index aa25151..ac2e8bf 100644 --- a/sys/apps/network/snmp.lua +++ b/sys/apps/network/snmp.lua @@ -124,6 +124,10 @@ Event.on('modem_message', function(_, _, sport, id, info, distance) network[id].distance = distance network[id].timestamp = os.clock() + if not network[id].label then + network[id].label = 'unknown' + end + if not network[id].active then network[id].active = true os.queueEvent('network_attach', network[id])