dhcpv4: move find_assignment_by_hwaddr()
authorDavid Härdeman <[email protected]>
Wed, 24 Sep 2025 13:38:12 +0000 (15:38 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Fri, 3 Oct 2025 10:54:06 +0000 (12:54 +0200)
commitbdaffc2e76830c35733781ed7319b80b4d0a08a6
tree64c4720e4056b9b1596ea217eb0a77e6644c5ebd
parent057e238b09343c507a74c4d4f3d0b55198cf8f35
dhcpv4: move find_assignment_by_hwaddr()

Move find_assignment_by_hwaddr() down to just before the sole user
(dhcpv4_lease()).

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/264
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/dhcpv4.c