diff --git a/scripts/hnap-info.nse b/scripts/hnap-info.nse index 0cc53fc53..6c37a5b19 100644 --- a/scripts/hnap-info.nse +++ b/scripts/hnap-info.nse @@ -74,7 +74,7 @@ local ELEMENTS = {["Type"] = "Type", ["string"] = "SOAPACTIONS", ["SubDeviceURLs"] = "Sub Device URLs"} -function get_text_callback(store, name) +local function get_text_callback(store, name) if ELEMENTS[name] == nil then return end name = ELEMENTS[name] if name == 'SOAPACTIONS' or name == 'Sub Device URLs' or name == 'Type' then