From 2455a48e2bff0ae887ef3a81496db1b37a46eae0 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 30 Mar 2021 02:59:02 +0200 Subject: dhcpv6-ia: implement prng using md5 from libubus Include the following parameters in the hash calculation: DUID, IAID, counter and secret key. (IA-type is always IA_NA and is not included.) --- src/odhcpd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/odhcpd.h') diff --git a/src/odhcpd.h b/src/odhcpd.h index ff7e105..fff28d5 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -149,6 +149,7 @@ struct config { char *dhcp_cb; char *dhcp_statefile; int log_level; + char *secret_key; }; -- cgit v1.2.3