You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2009/07/28 22:37:33 UTC
svn commit: r798702 - /httpd/httpd/trunk/include/heartbeat.h
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];