Update of /cvsroot/dhcp-agent/dhcp-agent/src
In directory sc8-pr-cvs1:/tmp/cvs-serv23125/src
Modified Files:
dhcp-local.h
Log Message:
INADDR_NONE definition if one is lacking; this actually isn't the right way of doing things
Index: dhcp-local.h
===================================================================
RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-local.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** dhcp-local.h 18 May 2003 02:58:25 -0000 1.5
--- dhcp-local.h 9 Jun 2003 02:04:02 -0000 1.6
***************
*** 101,103 ****
--- 101,110 ----
#define MAX_STRING_LEN 256
+ /* Solaris is braindead and does not have INADDR_NONE
+ * defined. Just define it here. */
+
+ #ifndef INADDR_NONE
+ #define INADDR_NONE -1
+ #endif /* INADDR_NONE */
+
#endif /* DHCP_LOCAL_H */
|