commit | 6b7e2332fbf74e043394699fd5d145af026d3719 | [log] [tgz] |
---|---|---|
author | jackiechen1985 <xiaobo.chen@tieto.com> | Mon Apr 29 11:29:04 2019 +0800 |
committer | Dave Barach <openvpp@barachs.net> | Mon May 13 12:38:41 2019 +0000 |
tree | 8846a3d3443fcde66e13f949ec0ee620783913f5 | |
parent | c1a02fcd9294fa46a6bd458cad7b7e14f0769548 [diff] [blame] |
Fix VPP-1528 get the same IP address from DHCP server for two VPP DHCP clients Change-Id: I18dfe51000758f44b991d2dd065c9aa2bc5863d5 Signed-off-by: jackiechen1985 <xiaobo.chen@tieto.com>
diff --git a/src/vnet/dhcp/client.c b/src/vnet/dhcp/client.c index b89b8f2..b571068 100644 --- a/src/vnet/dhcp/client.c +++ b/src/vnet/dhcp/client.c
@@ -1209,7 +1209,7 @@ dcm->vlib_main = vm; dcm->vnet_main = vnet_get_main (); - dcm->seed = 0xdeaddabe; + dcm->seed = (u32) clib_cpu_time_now (); return 0; }