DHCP on FreeBSD 8.2

newuse at qip.ru newuse at qip.ru
Sun Apr 22 14:35:06 CEST 2012


>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.

I am new to programming :( Thanks.

So this patch also seems working fine on my FreeBSD:
[code]
*** ./src/lib/dhcp.c	Tue Apr 17 16:11:05 2012
--- ./src/lib/dhcp.c	Sun Apr 22 01:45:08 2012
***************
*** 22,27 ****
--- 22,29 ----
   */
  
  #include <sys/ioctl.h>
+ #include <sys/types.h>   
+ #include <sys/socket.h>
  #include <net/if_arp.h>
  
  #include	<freeradius-devel/ident.h>
[/code]




More information about the Freeradius-Users mailing list