odhcpd: rename union if_addr -> in46_addr
authorDavid Härdeman <[email protected]>
Mon, 17 Nov 2025 22:11:08 +0000 (23:11 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 27 Nov 2025 07:23:41 +0000 (08:23 +0100)
commit407789e5f307d1e84b5e5a89b6da1e27fb6662c2
treee11d419f907f766da548723909cf681849a5ef2b
parent4246bbda56d620539b3a39318eef8f2614dd3af6
odhcpd: rename union if_addr -> in46_addr

Anyone reading "union if_addr" might be tempted to think it's got
something to do with an interface addr (e.g. a MAC, or something). In
reality, it's an IPv4/IPv6 addr (i.e. struct in_addr or struct
in6_addr), so rename it to make things clearer.

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/odhcpd.h