1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-17 13:09:02 +00:00
Files
nmap/nselib/stdnse.lua
dmiller 3025022f98 Optimize stdnse.debug and stdnse.verbose
Unnecessary, probably, but this eliminates 2 of 7 string
creations/collections due to concatenation and reassignment. Also
eliminates 2 unneeded table lookups and tests (since host always has
host.ip and port always has port.number), and eliminates 1 extra test
for prerule and postrule scripts, since we can't have a port if we don't
have a host.
2015-03-01 04:18:33 +00:00

44 KiB