summaryrefslogtreecommitdiff
path: root/wireshark-lua
diff options
context:
space:
mode:
Diffstat (limited to 'wireshark-lua')
-rw-r--r--wireshark-lua/satp.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/wireshark-lua/satp.lua b/wireshark-lua/satp.lua
index d6a8b76..50c7c32 100644
--- a/wireshark-lua/satp.lua
+++ b/wireshark-lua/satp.lua
@@ -13,16 +13,16 @@ do
subtree:add(buffer(0,4),"Sequence Number: " .. buffer(0,4):uint())
subtree:add(buffer(4,2),"Sender ID: " .. buffer(4,2):uint())
subtree:add(buffer(6,2),"Mux: " .. buffer(6,2):uint())
- subtree:add(buffer(8,2),"Payload Type: " .. buffer(8,2):uint())
+-- subtree:add(buffer(8,2),"Payload Type: " .. buffer(8,2):uint())
local data_dis = Dissector.get("data")
local payload_dis = Dissector.get("ip")
- if payload_dis ~= nil then
- payload_dis:call(buffer(10):tvb(),pinfo,tree)
- else
+-- if payload_dis ~= nil then
+-- payload_dis:call(buffer(10):tvb(),pinfo,tree)
+-- else
data_dis:call(buffer(10):tvb(),pinfo,tree)
- end
+-- end
end
-- load the udp.port table