README.md: update dhcp ubus events
authorDavid Härdeman <david@hardeman.nu>
Tue, 9 Dec 2025 22:39:23 +0000 (23:39 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 10 Dec 2025 08:56:49 +0000 (09:56 +0100)
The names were changed some time ago, but I overlooked the README.md
documentation.

Signed-off-by: David Härdeman <david@hardeman.nu>
Link: https://github.com/openwrt/odhcpd/pull/343
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
README.md

index f85f3473b537abc093d05dff7f8262facb8fd4be..869d2753dacf5f9a33b2cfc243c6869b47d3e466 100644 (file)
--- a/README.md
+++ b/README.md
@@ -178,8 +178,8 @@ odhcpd currently broadcasts the following events via ubus:
 
 | Name         | Parameters                    | Description   |
 | :------------ | :----------------------------        | :------------ |
-| `dhcp.ack`   | `mac,ip,name,interface`       | A new DHCPv4 lease has been created |
-| `dhcp.release`| `mac,ip,name,interface`      | A DHCPv4 lease has been released by a client |
-| `dhcp.expire`        | `mac,ip,name,interface`       | A DHCPv4 lease has expired |
+| `dhcp.lease4`        | `mac,ip,name,interface`       | A new DHCPv4 lease has been created |
+| `dhcp.release4`| `mac,ip,name,interface`     | A DHCPv4 lease has been released by a client |
+| `dhcp.expire4`| `mac,ip,name,interface`      | A DHCPv4 lease has expired |
 
 These can be observed by running e.g. `ubus listen dhcp` on your OpenWrt device.