Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
5edc7f76
Commit
5edc7f76
authored
Feb 25, 2014
by
Salvatore Sanfilippo
Browse files
Merge pull request #1565 from mattsta/fix-cluster-ipv6-addr
Fix IP representation in clusterMsgDataGossip
parents
55c059e2
d769cad4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.h
View file @
5edc7f76
...
@@ -148,7 +148,7 @@ typedef struct {
...
@@ -148,7 +148,7 @@ typedef struct {
char
nodename
[
REDIS_CLUSTER_NAMELEN
];
char
nodename
[
REDIS_CLUSTER_NAMELEN
];
uint32_t
ping_sent
;
uint32_t
ping_sent
;
uint32_t
pong_received
;
uint32_t
pong_received
;
char
ip
[
16
];
/* IP address last time it was seen */
char
ip
[
REDIS_IP_STR_LEN
];
/* IP address last time it was seen */
uint16_t
port
;
/* port last time it was seen */
uint16_t
port
;
/* port last time it was seen */
uint16_t
flags
;
uint16_t
flags
;
uint32_t
notused
;
/* for 64 bit alignment */
uint32_t
notused
;
/* for 64 bit alignment */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment