openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
160 stars 96 forks source link

ubus: add add_lease method #165

Closed spiccinini closed 3 years ago

spiccinini commented 3 years ago

Allows sharing leases between odhcpd instances running in multiple hosts. This is my first contribution to odhcpd and my first time using libubox, libuci, libubus so this may be subtly (and not so subtly) wrong.

Fixes #113

@altergui can you test it?

dedeckeh commented 3 years ago

LGTM

dedeckeh commented 3 years ago

Patch merged (https://git.openwrt.org/?p=project/odhcpd.git;a=commit;h=8f27697b9b82420890cedd429622052c8b67cea1); thx