[PATCH] odhcpd: send DHCPv6 lease events over U-Bus

David Härdeman david at hardeman.nu
Fri Nov 28 10:35:45 PST 2025


26 November 2025 at 13:23, "Erin Kalousková via openwrt-devel" <openwrt-devel at lists.openwrt.org> wrote:
> odhcpd currently only sends DHCPv4 lease events over U-Bus. For DHCPv6 
> the only option was to use a trigger hook script and then parse a lease 
> file and diff it against previous version.
> This made it very inconvenient to use in cases like adding DHCP hosts to 
> DNS server and the behavior is also inconsistent with DHCPv4 counterpart.
> Format of the U-Bus message is based on reply of `ipv6leases` U-Bus method.
>

Hey,

could you post the patch as a PR here:
https://github.com/openwrt/odhcpd

Then I'd be happy to take a look.

Regards,
David



More information about the openwrt-devel mailing list