-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
Package Name
prometheus-node-exporter-lua-uci_dhcp_host
Maintainer
OpenWrt Version
24.10.4
OpenWrt Target/Subtarget
mediatek/filogic
Steps to Reproduce
- Configure a static lease as
config host
option name 'Laptop'
option ip '192.168.X.XX'
list mac 'XX:XX:XX:XX:XX:XX'
list mac 'XX:XX:XX:XX:XX:XY'
- Install the package
- Error appear in log
Sat Nov 29 07:33:48 2025 daemon.err uhttpd[2697]: /usr/lib/lua/prometheus-collectors/uci_dhcp_host.lua:9: bad argument #1 to 'upper' (string expected, got table)
Sat Nov 29 07:34:03 2025 daemon.err uhttpd[2697]: /usr/lib/lua/prometheus-collectors/uci_dhcp_host.lua:9: bad argument #1 to 'upper' (string expected, got table)
Actual Behaviour
An error appear in logs very frecuently when you add a static lease with two Mac Addresses. Example when you want to assign an especific IP Address to your laptop via Wireless or Ethernet.
I'm sorry to have assigned this to @aparcar, unfortunately the original creator account(Gérondal Thibault [email protected]) is no longer in Github
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.