DHCP Client: receive unicast ACKs 80/7880/3
authorNeale Ranns <nranns@cisco.com>
Wed, 2 Aug 2017 12:15:07 +0000 (05:15 -0700)
committerKeith Burns <alagalah@gmail.com>
Thu, 3 Aug 2017 17:00:31 +0000 (17:00 +0000)
commit808c5b21c2759564689933d004223052b7895a42
tree2d1720692195ad876f0611cd694f721adc211e82
parent8d00fff8dff4e449767601645422e03df92a83af
DHCP Client: receive unicast ACKs

despite VPP DHCP client setting neither ciaddr nor giaddr and setting the broadcast bit (see RFC 2131 section 4.1) some DHCP servers will still send a unicast DCHPACK. So as not to drop this VPP must have both 1) a receive FIB entry for the OFFERED IP adress and 2) a 'don't drop me because of uRPF' FIB entry for the DHCP server's address.

Change-Id: I167d858deb45629318cbdccf5bf67d971730a42f
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/dhcp/client.c
src/vnet/fib/fib_entry.h
test/test_dhcp.py