summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_options.h
diff options
context:
space:
mode:
authorAdam Cooper <adam.cooper@mongodb.com>2018-06-11 17:35:51 -0400
committerAdam Cooper <adam.cooper@mongodb.com>2018-06-11 17:35:51 -0400
commit84ccd279f2910a73b10678685b2a6a90bb6dd8fb (patch)
tree259e5e3154fa2c5a81a15e81248c873374a32c3e /src/mongo/db/server_options.h
parent5e7ad8a40626fa24574e4a2b17f810812f288ec8 (diff)
downloadmongo-84ccd279f2910a73b10678685b2a6a90bb6dd8fb.tar.gz
SERVER-35101 Strip trailing and leading whitespace from bind_ip arguments and change to
std::vector internally
Diffstat (limited to 'src/mongo/db/server_options.h')
-rw-r--r--src/mongo/db/server_options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/server_options.h b/src/mongo/db/server_options.h
index e9ea5c752d1..f4abfe9a884 100644
--- a/src/mongo/db/server_options.h
+++ b/src/mongo/db/server_options.h
@@ -48,7 +48,7 @@ struct ServerGlobalParams {
return port == DefaultDBPort;
}
- std::string bind_ip; // --bind_ip
+ std::vector<std::string> bind_ips; // --bind_ip
bool enableIPv6 = false;
bool rest = false; // --rest