diff --git a/scripts/tls-nextprotoneg.nse b/scripts/tls-nextprotoneg.nse
index e1849660b..3b5e0ee98 100644
--- a/scripts/tls-nextprotoneg.nse
+++ b/scripts/tls-nextprotoneg.nse
@@ -26,6 +26,12 @@ For more information , see:
-- | spdy/3
-- | spdy/2
-- |_ http/1.1
+--
+-- @xmloutput
+-- spdy/4a4
+-- spdy/3.1
+-- spdy/3
+-- http/1.1
author = "Hani Benhabiles"
@@ -171,6 +177,6 @@ action = function(host, port)
if status and response then
-- Analyze response
local results = check_npn(response)
- return stdnse.format_output(true, results)
+ return results
end
end