File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1213,15 +1213,23 @@ setup_config(void)
1213
1213
1214
1214
if (err != 0 ||
1215
1215
getaddrinfo ("::1" , NULL , & hints , & gai_result ) != 0 )
1216
+ {
1216
1217
conflines = replace_token (conflines ,
1217
1218
"host all all ::1" ,
1218
1219
"#host all all ::1" );
1220
+ conflines = replace_token (conflines ,
1221
+ "host replication all ::1" ,
1222
+ "#host replication all ::1" );
1223
+ }
1219
1224
}
1220
1225
#else /* !HAVE_IPV6 */
1221
1226
/* If we didn't compile IPV6 support at all, always comment it out */
1222
1227
conflines = replace_token (conflines ,
1223
1228
"host all all ::1" ,
1224
1229
"#host all all ::1" );
1230
+ conflines = replace_token (conflines ,
1231
+ "host replication all ::1" ,
1232
+ "#host replication all ::1" );
1225
1233
#endif /* HAVE_IPV6 */
1226
1234
1227
1235
/* Replace default authentication methods */
You can’t perform that action at this time.
0 commit comments