odhcpd: rename prefix -> prefix_len
authorDavid Härdeman <[email protected]>
Mon, 17 Nov 2025 22:37:50 +0000 (23:37 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 27 Nov 2025 07:23:45 +0000 (08:23 +0100)
commit66e7739f7c86a45cb9da06affb26ef951b0649e5
tree3329c359f3cadb288580e2564a223077ee2d77e1
parent407789e5f307d1e84b5e5a89b6da1e27fb6662c2
odhcpd: rename prefix -> prefix_len

Change a bunch of places where a prefix length is stored as "prefix" to
instead call the length "prefix_len", to make it clearer that it is not
a prefix that is stored.

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