diff options
author | Nick Hainke <vincent@systemli.org> | 2020-10-29 18:34:14 +0100 |
---|---|---|
committer | Nick Hainke <vincent@systemli.org> | 2020-10-29 18:52:33 +0100 |
commit | 2bc32a70789ea1274b06f13e07c11c99d2b312a6 (patch) | |
tree | b29f13f50290d81c19fd9b1ac4273f33f4c305d3 /utils/prometheus-node-exporter-lua/files/usr/lib/lua | |
parent | 9d9669c2ffe4ebf1d9ed520c1f3deb3fcfc10120 (diff) |
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 <vincent@systemli.org>
Diffstat (limited to 'utils/prometheus-node-exporter-lua/files/usr/lib/lua')
-rw-r--r-- | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_ubus_stations.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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() |