summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-04-09 16:16:37 +0100
committerRoy Marples <roy@marples.name>2020-04-09 16:16:37 +0100
commit4d4f630416a1ed712abb045ec2da92f8b898add4 (patch)
tree642b620f045a153d2fc30bb141dd8edf2efbfe1e /src/dhcpcd.c
parentefffe67b3538a03113a4556c1cd51d2a10db6d43 (diff)
downloaddhcpcd-4d4f630416a1ed712abb045ec2da92f8b898add4.tar.xz
RA: Rework temporary address management
Vastly simpfly how they are generated and managed. Temporary address generation now uses pure random numbers rather than MD5ing over a random secret as arc4random should be random enough. This change reflects RFC 4941bis.
Diffstat (limited to 'src/dhcpcd.c')
-rw-r--r--src/dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c
index 90f02ba2..b8f41e8b 100644
--- a/src/dhcpcd.c
+++ b/src/dhcpcd.c
@@ -782,7 +782,7 @@ dhcpcd_handlecarrier(struct dhcpcd_ctx *ctx, int carrier, unsigned int flags,
ipv6nd_startexpire(ifp);
#endif
/* RFC4941 Section 3.5 */
- ipv6_gentempifid(ifp);
+ ipv6_regentempaddrs(ifp);
#endif
dhcpcd_startinterface(ifp);
}