diff mod_log_json/mod_log_json.lua @ 3747:f288177f4c5d

mod_log_json: Fix to include underscore in UDP details in the other spot
author Kim Alvefur <zash@zash.se>
date Wed, 13 Nov 2019 17:54:54 +0100
parents bc865568ff02
children 27abf3b6819a
line wrap: on
line diff
--- a/mod_log_json/mod_log_json.lua	Wed Nov 13 17:51:28 2019 +0100
+++ b/mod_log_json/mod_log_json.lua	Wed Nov 13 17:54:54 2019 +0100
@@ -16,7 +16,7 @@
 		end
 	elseif config.udp_host and config.udp_port then
 		local conn = socket.udp();
-		conn:connect(config.udphost, config.udpport);
+		conn:connect(config.udp_host, config.udp_port);
 		function send(payload)
 			conn:send(payload);
 		end