diff --git a/nselib/shortport.lua b/nselib/shortport.lua index da55f90a4..2e45346c7 100644 --- a/nselib/shortport.lua +++ b/nselib/shortport.lua @@ -34,7 +34,7 @@ portnumber = function(port, _proto, _state) end service = function(service, _proto, _state) - local service_table; + local service_table, state_table local state = _state or {"open", "open|filtered"} local proto = _proto or "tcp"