diff options
| author | Luke Dashjr <[email protected]> | 2012-06-08 16:43:06 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-08-23 21:01:01 +0000 |
| commit | 9655d73f49cd4da189ddb2ed708c26dc4cb3babe (patch) | |
| tree | e4bc13f995f1634b05094471aae5c352f61da576 /src/init.cpp | |
| parent | Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} too (diff) | |
| download | discoin-9655d73f49cd4da189ddb2ed708c26dc4cb3babe.tar.xz discoin-9655d73f49cd4da189ddb2ed708c26dc4cb3babe.zip | |
Allow building with IPv6 support, but it disabled by default
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 1a1e31c2f..25756c4e6 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -500,6 +500,12 @@ bool AppInit2() SetLimited(net); } } +#if defined(USE_IPV6) +#if ! USE_IPV6 + else + SetLimited(NET_IPV6); +#endif +#endif CService addrProxy; bool fProxy = false; |