]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix INADDR_LOOPBACK
authorTed Lemon <source@isc.org>
Mon, 20 May 1996 00:44:15 +0000 (00:44 +0000)
committerTed Lemon <source@isc.org>
Mon, 20 May 1996 00:44:15 +0000 (00:44 +0000)
cf/sco.h
includes/cf/sco.h

index 426838ae6dfea821e25eae1ecc5ac15d30a32c3d..d839f974303654d59e7ef3f9778683361f8e9d1f 100644 (file)
--- a/cf/sco.h
+++ b/cf/sco.h
@@ -77,7 +77,7 @@ extern int h_errno;
 #define _PATH_DHCPD_PID        "/etc/dhcpd.pid"
 #endif
 
-#define INADDR_LOOPBACK        ((u_int32_t) htonl((u_int32_t)0x7f000001))
+#define INADDR_LOOPBACK        ((u_int32_t)0x7f000001)
 
 /* Varargs stuff: use stdarg.h instead ... */
 #include <stdarg.h>
index 426838ae6dfea821e25eae1ecc5ac15d30a32c3d..d839f974303654d59e7ef3f9778683361f8e9d1f 100644 (file)
@@ -77,7 +77,7 @@ extern int h_errno;
 #define _PATH_DHCPD_PID        "/etc/dhcpd.pid"
 #endif
 
-#define INADDR_LOOPBACK        ((u_int32_t) htonl((u_int32_t)0x7f000001))
+#define INADDR_LOOPBACK        ((u_int32_t)0x7f000001)
 
 /* Varargs stuff: use stdarg.h instead ... */
 #include <stdarg.h>