Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit252c0f6

Browse files
committed
Make raft fill in the address family for peer addresses.
1 parentf77065d commit252c0f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/raft.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ bool raft_peer_up(raft_t r, int id, char *host, int port, bool self) {
292292
);
293293
return false;
294294
}
295+
p->addr.sin_family=AF_INET;
295296
p->addr.sin_port=htons(p->port);
296297

297298
if (self) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp