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>
This commit is contained in:
Nick Hainke
2020-10-29 18:34:14 +01:00
parent 9d9669c2ff
commit 2bc32a7078
2 changed files with 2 additions and 2 deletions

View File

@@ -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()