summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-03-30 02:59:02 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2021-09-21 22:22:04 +0200
commit2455a48e2bff0ae887ef3a81496db1b37a46eae0 (patch)
tree21408a305f3e550701af7141bba102e575059e28 /src/odhcpd.h
parent01b4e6046f10e21809c3f380f2d33bf3fe59698d (diff)
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.)
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h1
1 files changed, 1 insertions, 0 deletions
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;
};