diff options
Diffstat (limited to 'src/vnet/dhcp')
-rw-r--r-- | src/vnet/dhcp/client.c | 2 | ||||
-rw-r--r-- | src/vnet/dhcp/dhcp6_pd_client_dp.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/vnet/dhcp/client.c b/src/vnet/dhcp/client.c index b89b8f28acc..b5710684bc1 100644 --- a/src/vnet/dhcp/client.c +++ b/src/vnet/dhcp/client.c @@ -1209,7 +1209,7 @@ dhcp_client_init (vlib_main_t * vm) dcm->vlib_main = vm; dcm->vnet_main = vnet_get_main (); - dcm->seed = 0xdeaddabe; + dcm->seed = (u32) clib_cpu_time_now (); return 0; } diff --git a/src/vnet/dhcp/dhcp6_pd_client_dp.c b/src/vnet/dhcp/dhcp6_pd_client_dp.c index bc6baf76293..c1bf5f8844f 100644 --- a/src/vnet/dhcp/dhcp6_pd_client_dp.c +++ b/src/vnet/dhcp/dhcp6_pd_client_dp.c @@ -647,10 +647,8 @@ dhcp6_pd_client_init (vlib_main_t * vm) cm->vlib_main = vm; cm->vnet_main = vnet_get_main (); - cm->publisher_node = ~0; - - cm->seed = 0xdeaddabe; + cm->seed = (u32) clib_cpu_time_now (); return 0; } |