Skip to content

Commit 95f9c41

Browse files
committed
Support forcing of IPv4/IPv6 resolution (2)
resolution -> address family
1 parent 7eaba3d commit 95f9c41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

memtier_benchmark.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static void config_print(FILE *file, struct benchmark_config *cfg)
9999
"server = %s\n"
100100
"port = %u\n"
101101
"unix socket = %s\n"
102-
"resolution %s\n"
102+
"address family = %s\n"
103103
"protocol = %s\n"
104104
#ifdef USE_TLS
105105
"tls = %s\n"
@@ -205,7 +205,7 @@ static void config_print_to_json(json_handler * jsonhandler, struct benchmark_co
205205
jsonhandler->write_obj("server" ,"\"%s\"", cfg->server);
206206
jsonhandler->write_obj("port" ,"%u", cfg->port);
207207
jsonhandler->write_obj("unix socket" ,"\"%s\"", cfg->unix_socket);
208-
jsonhandler->write_obj("resolution" ,"\"%s\"", cfg->resolution == AF_UNSPEC ? "Unspecified" : cfg->resolution == AF_INET ? "AF_INET" : "AF_INET6");
208+
jsonhandler->write_obj("address family" ,"\"%s\"", cfg->resolution == AF_UNSPEC ? "Unspecified" : cfg->resolution == AF_INET ? "AF_INET" : "AF_INET6");
209209
jsonhandler->write_obj("protocol" ,"\"%s\"", get_protocol_name(cfg->protocol));
210210
jsonhandler->write_obj("out_file" ,"\"%s\"", cfg->out_file);
211211
#ifdef USE_TLS

0 commit comments

Comments
 (0)