diff options
author | Aaron <aaron@10gen.com> | 2010-04-08 13:38:23 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-04-08 13:38:23 -0700 |
commit | 1007c905b02d7ed456fa5c4b2dfae99ab18c175a (patch) | |
tree | 6bb9d35d03def751d074122411f9eb361b6f7ef6 /util/sock.h | |
parent | b051b161975f389814545257368c9cf2310e5921 (diff) | |
parent | 89e671b0a262ad71141c87a4f80c0b286b56451d (diff) | |
download | mongo-1007c905b02d7ed456fa5c4b2dfae99ab18c175a.tar.gz |
Merge branch 'master' of github.com:mongodb/mongo
Diffstat (limited to 'util/sock.h')
-rw-r--r-- | util/sock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/sock.h b/util/sock.h index 1699c8313df..4119e2dbf3e 100644 --- a/util/sock.h +++ b/util/sock.h @@ -115,6 +115,9 @@ namespace mongo { // in, look up its ip and return that. Returns "" on failure. string hostbyname(const char *hostname); + void enableIPv6(bool state=true); + bool IPv6Enabled(); + struct SockAddr { SockAddr() { addressSize = sizeof(sa); |