rpcd-mod-luci: parse prefix size from DHCPv6 leases
authorJo-Philipp Wich <jo@mein.io>
Tue, 26 Oct 2021 17:27:36 +0000 (19:27 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 Oct 2021 17:40:35 +0000 (19:40 +0200)
commit4424424366ba3980a96c712bbc681f6634a30207
tree73d71e0cfea62de3c1ca7a3baeb985b29b757640
parent19fe3324d28cb9c7dca9b4f79ff4665f6c27797a
rpcd-mod-luci: parse prefix size from DHCPv6 leases

Remember the prefix size when parsing odhcpd lease entries and expose
it in the ip6addrs array.

Fixes: #4345
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libs/rpcd-mod-luci/src/luci.c