David Härdeman 3b7869e6df rpcd-mod-luci: correct DUID logic
dnsmasq writes a statefile for DHCPv4 leases with the MAC address as the
second field and the clientid as the fifth field. The clientid starts
with a type byte (0x01 = ethernet, 0xff = DUID/IAID identifier).

Similarly, odhcpd writes the MAC address as the second field for IPv4
leases.

This patch changes the behaviour of rpcd-mod-luci so that it doesn't
report a non-DUID as a DUID.

Signed-off-by: David Härdeman <david@hardeman.nu>
2025-12-03 13:36:29 +01:00
2024-11-22 22:39:46 +01:00
2025-12-03 13:36:29 +01:00
2025-06-08 20:41:25 +02:00
2019-11-07 12:39:24 +01:00
2025-10-11 18:59:19 +03:00
2025-11-07 14:36:39 +01:00

OpenWrt luci feed

Translation status

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

Translation status

Use Weblate instead of direct editing of the *.po files.

Translation status

Description
LuCI - OpenWrt Configuration Interface
Readme Apache-2.0 464 MiB
Languages
JavaScript 59.2%
C 18.4%
Lua 11.2%
CSS 3.8%
HTML 2.3%
Other 5%