diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-24 16:21:36 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-24 16:21:36 -0700 |
| commit | f69454ec9879a0b0a424f743ca144d1123ef7e99 (patch) | |
| tree | a53bd7f8ebc2d164ead7d530a8e9ef17ffe73ddb /node/Defaults.cpp | |
| parent | 0e5aac6a117c28fde63f4cdb94e6c9fc415ca098 (diff) | |
| download | infinitytier-f69454ec9879a0b0a424f743ca144d1123ef7e99.tar.gz infinitytier-f69454ec9879a0b0a424f743ca144d1123ef7e99.zip | |
(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
Diffstat (limited to 'node/Defaults.cpp')
| -rw-r--r-- | node/Defaults.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Defaults.cpp b/node/Defaults.cpp index e64f3844..b311fb6a 100644 --- a/node/Defaults.cpp +++ b/node/Defaults.cpp @@ -75,7 +75,7 @@ static inline std::map< Address,Identity > _mkRootTopologyAuth() Defaults::Defaults() : defaultRootTopology((const char *)ZT_DEFAULT_ROOT_TOPOLOGY,ZT_DEFAULT_ROOT_TOPOLOGY_LEN), rootTopologyAuthorities(_mkRootTopologyAuth()), - v4Broadcast(((uint32_t)0xffffffff),ZT1_DEFAULT_PORT) + v4Broadcast(((uint32_t)0xffffffff),ZT_DEFAULT_PORT) { } |
