httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r798702 - /httpd/httpd/trunk/include/heartbeat.h
Date Tue, 28 Jul 2009 20:37:33 GMT
Author: jim
Date: Tue Jul 28 20:37:33 2009
New Revision: 798702

URL: http://svn.apache.org/viewvc?rev=798702&view=rev
Log:
Save some bytes :)

Modified:
    httpd/httpd/trunk/include/heartbeat.h

Modified: httpd/httpd/trunk/include/heartbeat.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/heartbeat.h?rev=798702&r1=798701&r2=798702&view=diff
==============================================================================
--- httpd/httpd/trunk/include/heartbeat.h (original)
+++ httpd/httpd/trunk/include/heartbeat.h Tue Jul 28 20:37:33 2009
@@ -33,7 +33,11 @@
 extern "C" {
 #endif
 
-#define MAXIPSIZE  64
+/*
+ * Worse Case: IPv4-Mapped IPv6 Address
+ * 0000:0000:0000:0000:0000:FFFF:255.255.255.255
+ */
+#define MAXIPSIZE  46
 typedef struct hm_slot_server_t
 {
     char ip[MAXIPSIZE];



Mime
View raw message