rpcd-mod-luci: strip colon from dnsmasq duid
authorAnsuel Smith <ansuelsmth@gmail.com>
Mon, 7 Dec 2020 16:57:49 +0000 (17:57 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Fri, 26 Jul 2024 00:13:46 +0000 (02:13 +0200)
commitf71e9cbd42db24c7743589804dacfdf5513ca883
tree28ac1d44fb554ea0b717659660e69aa1d8b508e8
parentf488d2865358edfaf27cba7f5d0f8d7c150dcf97
rpcd-mod-luci: strip colon from dnsmasq duid

Dnsmasq DHCPv6 use colons in the generated duid present in the lease file. Strip the colon as this is not supported by the OpenWrt config and follow the same way odhcpd use to display duid.

Fixes: #4543
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
libs/rpcd-mod-luci/src/luci.c