DHCP on FreeBSD 8.2

Alan DeKok aland at deployingradius.com
Sun Apr 22 12:53:01 CEST 2012


newuse at qip.ru wrote:
> I have get it working, here is my patch, but I have not tested if it will correctly compile on non-FreeBSD PCs :(

  I pushed a patch to git.  It's cross-platform, and should work.

> + typedef unsigned short	u_short;
> + typedef unsigned long	u_long;
> + typedef unsigned char	u_char;
> + typedef unsigned int	u_int;

  Those definitions are in the system header files.  The server should
depend on the header files.  It's better than having hard-coded values
in the source.

  Alan DeKok.


More information about the Freeradius-Users mailing list