diff options
author | Luca Deri <deri@ntop.org> | 2017-10-14 14:23:49 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-10-14 14:23:49 +0200 |
commit | f7e95b4ee82f04704f923fd4f6608423291761d9 (patch) | |
tree | 8c9dad90336c388a13425a9cbf201dd8188c5aa4 | |
parent | 36adc23507a7853189c0d3773d5191c8adbb6e3f (diff) |
Fixed DHCP layout
-rw-r--r-- | wireshark/ndpi.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wireshark/ndpi.lua b/wireshark/ndpi.lua index 6ebda9d9d..7503b0746 100644 --- a/wireshark/ndpi.lua +++ b/wireshark/ndpi.lua @@ -1252,12 +1252,17 @@ local function dhcp_dialog_menu() if(dhcp_fingerprints ~= {}) then i = 0 - label = label .. "Client\t\tKnown Fingerprint\n" + for k,v in pairsByValues(dhcp_fingerprints, rev) do local os = fingeprints[v] if(os ~= nil) then local os = " ["..os.."]" + + if(i == 0) then + label = label .. "Client\t\tKnown Fingerprint\n" + end + label = label .. k.."\t"..v..os.."\n" if(i == 50) then break else i = i + 1 end end |