Reenable dhcp client detect when lease expires 42/10542/1
authorDave Barach <dave@barachs.net>
Wed, 14 Feb 2018 22:58:33 +0000 (17:58 -0500)
committerDave Barach <dave@barachs.net>
Thu, 15 Feb 2018 00:06:24 +0000 (19:06 -0500)
commit4941fcc23ab01f5ca918e56489d404b92d8bde90
tree3190f1cf8fb86ed3e7870b6e8c2f49cc37821f9f
parentf8f516a8b0ccab2f5d9796f90419bf2661c750af
Reenable dhcp client detect when lease expires

We disable the client detect feature when we bind a DHCP address. Turn
it back on again when the lease expires.  Otherwise, if the DHCP
server replies after an outage, we'll never see the reply.

Add dhcp packet tx counters, by packet type

Change-Id: Id54b05647d5d7bd8d3ab99e6584ee86d9e4ff7f9
Signed-off-by: Dave Barach <dave@barachs.net>
src/vnet/dhcp/client.c