mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
* util.cpp : reorder defines
This commit is contained in:
parent
1b2c88fe38
commit
8e867ab0c0
1 changed files with 3 additions and 3 deletions
6
util.cpp
6
util.cpp
|
@ -599,10 +599,10 @@ namespace net
|
||||||
{
|
{
|
||||||
const int fallback = 576; // fallback MTU
|
const int fallback = 576; // fallback MTU
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__OpenBSD__)
|
#ifdef WIN32
|
||||||
return GetMTUUnix(localAddress, fallback);
|
|
||||||
#elif defined(WIN32)
|
|
||||||
return GetMTUWindows(localAddress, fallback);
|
return GetMTUWindows(localAddress, fallback);
|
||||||
|
#else
|
||||||
|
return GetMTUUnix(localAddress, fallback);
|
||||||
#endif
|
#endif
|
||||||
return fallback;
|
return fallback;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue