From 2bc32a70789ea1274b06f13e07c11c99d2b312a6 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Thu, 29 Oct 2020 18:34:14 +0100 Subject: prometheus-node-exporter-lua: fix hostapd exporter Fix "hostapd_ubus_stations.lua". The bit-lib that is imported and the one specified as the dependency do not match. Use luabitop. Signed-off-by: Nick Hainke --- .../files/usr/lib/lua/prometheus-collectors/hostapd_ubus_stations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/prometheus-node-exporter-lua/files/usr/lib') diff --git a/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_ubus_stations.lua b/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_ubus_stations.lua index b9719c867..88a993c54 100644 --- a/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_ubus_stations.lua +++ b/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_ubus_stations.lua @@ -1,5 +1,5 @@ local ubus = require "ubus" -local bit = require "bit32" +local bit = require "bit" local function get_wifi_interfaces() -- based on hostapd_stations.lua local u = ubus.connect() -- cgit v1.2.3