Content-Length: 253732 | pFad | http://github.com/postgrespro/postgres_cluster/commit/252c0f63bf65019a8a8efd689510e5e46169f3c7

FE Make raft fill in the address family for peer addresses. · postgrespro/postgres_cluster@252c0f6 · GitHub
Skip to content

Commit 252c0f6

Browse files
committed
Make raft fill in the address family for peer addresses.
1 parent f77065d commit 252c0f6

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/252c0f63bf65019a8a8efd689510e5e46169f3c7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy