-------- Original Message --------
Subject: dhcp4 support listen on alias address when its main interface has null ipaddr
Date: Wed, 21 Nov 2012 21:17:36 -0700
From: Wei Kong <wkong@novell.com>
To: <dhcp-workers@lists.isc.org>
CC: Yi Li <YiLi@novell.com>


Hi Shawn Routhier,
 
My customer request bind dhcp server on alias address on dhcp4, so we have a patch below to support it.
Please help to review this patch, thanks a lot.
 
---
On linux, dhcp4 doesn't support listen on alias address when
its main interface has null ipaddr. dhcp3 support this function.
Because dhcp4 scan interface from /proc/net/dev, this is not enough.
 
On linux, both ioctl(,SIOCGIFCONF,) and
getifaddrs() could retrieve all ipaddrs on the linux system.
 
Below patch use getifaddrs as BSD as well.
---
 
Thanks
Kong Wei