From fd0834262c517ea3a420fdba05fb95bc4141762b Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Mon, 13 Apr 2020 16:44:09 -0400 Subject: dhcp: fix unicast pkts, clean up state machine Nominally a bug-fix cherry-pick, but completely manual. Closer to a full feature backport minus binary api changes. Send dhcp unicast packets to ip4-lookup. Otherwise, these packets won't reach a dhcp server on a different subnet. Do an immediate client scan after processing wakeup events. Calculate the next process wakeup time by scanning all clients. Increase maximum (idle, no-clients-configured) timeout to 1000 seconds. Reduce log spew. Type: fix Signed-off-by: Dave Barach Change-Id: I3d10cd4c353298ed0b19e7e30887dc1d8d07b19e (cherry picked from commit c54162981cdd41d65ed283df36955007552ddffe) --- src/vnet/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/CMakeLists.txt') diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index 4b7972dd960..d237867fc1b 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -890,6 +890,7 @@ list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api) ############################################################################## list(APPEND VNET_SOURCES dhcp/client.c + dhcp/dhcp4_packet.c dhcp/dhcp_client_detect.c dhcp/dhcp6_client_common_dp.c dhcp/dhcp6_pd_client_dp.c -- cgit 1.2.3-korg