Skip to content

Commit 91a21c3

Browse files
authored
Merge pull request #31 from kyllingstad/default-to-loopback
Change default network interface to 127.0.0.1 in coralmaster and coralslaveprovider
2 parents 8b549e2 + f845efd commit 91a21c3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ list the bigger ones.
2626
### Changed
2727
- A negative number may now be given for any communication timeout,
2828
which will disable the timeout entirely.
29+
- The default network interface in coralmaster and coralslaveprovider
30+
has been changed from `*` to `127.0.0.1`.
31+
(See issue [#20](https://github.com/viproma/coral/issues/20).)
2932

3033
## [0.7.1] – 2017-03-09
3134
### Fixed

src/master/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
2626

2727
namespace {
2828
const std::string self = "coralmaster";
29-
const std::string DEFAULT_NETWORK_INTERFACE = "*";
29+
const std::string DEFAULT_NETWORK_INTERFACE = "127.0.0.1";
3030
const std::uint16_t DEFAULT_DISCOVERY_PORT = 10272;
3131
}
3232

src/provider/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
3030

3131
namespace
3232
{
33-
const std::string DEFAULT_NETWORK_INTERFACE = "*";
33+
const std::string DEFAULT_NETWORK_INTERFACE = "127.0.0.1";
3434
const std::uint16_t DEFAULT_DISCOVERY_PORT = 10272;
3535
#ifdef _WIN32
3636
const std::string DEFAULT_SLAVE_EXE = "coralslave.exe";

0 commit comments

Comments
 (0)