VPP-1169: reenable dhcp client detect when lease expires 61/10561/1
authorDave Barach <[email protected]>
Wed, 14 Feb 2018 22:58:33 +0000 (17:58 -0500)
committerDave Barach <[email protected]>
Thu, 15 Feb 2018 11:59:07 +0000 (11:59 +0000)
commitb704f49bb6ce1f816b86ae0e8930b4652d2860d2
tree2fe692da535ab8397b601cf2b170bc8a2cf7383a
parentf13bac295d7be78f5c02024ea1f285a8bd6760e9
VPP-1169: 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 <[email protected]>
(cherry picked from commit 4941fcc23ab01f5ca918e56489d404b92d8bde90)
src/vnet/dhcp/client.c