1
0
mirror of https://github.com/kepler155c/opus synced 2025-11-12 05:23:01 +00:00

New sniffer app

This commit is contained in:
xAnavrins
2019-07-04 21:33:47 -04:00
parent 0b222207ba
commit ddb5433c01
2 changed files with 362 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ local page = UI.Page {
x = -3,
dropdown = {
{ text = 'Port Status', event = 'ports', modem = true },
{ spacer = true },
{ spacer = true },
{ text = 'Help', event = 'help', noCheck = true },
},
},
@@ -127,14 +127,12 @@ local function sendCommand(host, command)
end
end
--[[
function page.ports:eventHandler(event)
if event.type == 'grid_select' then
shell.openForegroundTab('sniff ' .. event.selected.port)
end
return UI.SlideOut.eventHandler(self, event)
end
]]
function page.ports.grid:update()
local transport = network:getTransport()