summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2009-07-28 22:37:33 +0200
committerJim Jagielski <jim@apache.org>2009-07-28 22:37:33 +0200
commitc43b4218125fceef258fd2967cdb0ab76265bf11 (patch)
tree275897dfd6c459a118af58af384d4e5fe34b686d /include
parentAlign logic and message :) (diff)
downloadapache2-c43b4218125fceef258fd2967cdb0ab76265bf11.tar.xz
apache2-c43b4218125fceef258fd2967cdb0ab76265bf11.zip
Save some bytes :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@798702 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/heartbeat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/heartbeat.h b/include/heartbeat.h
index 8d897bb767..7f9ed38521 100644
--- a/include/heartbeat.h
+++ b/include/heartbeat.h
@@ -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];