summaryrefslogtreecommitdiff
path: root/src/net/netconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 17:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 17:09:30 +0300
commite390134047945b0d669249e62f6d525698be180e (patch)
treee10e8d1a32f8c78ab20dbead1a2226828bac418a /src/net/netconsts.h
parent3efd5188c210477fe3d5c895f266fcf2c6da184c (diff)
downloadplus-e390134047945b0d669249e62f6d525698be180e.tar.gz
plus-e390134047945b0d669249e62f6d525698be180e.tar.bz2
plus-e390134047945b0d669249e62f6d525698be180e.tar.xz
plus-e390134047945b0d669249e62f6d525698be180e.zip
fix default port if tmwa support enabled.
Diffstat (limited to 'src/net/netconsts.h')
-rw-r--r--src/net/netconsts.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/netconsts.h b/src/net/netconsts.h
index 1977698ea..ab7f5458b 100644
--- a/src/net/netconsts.h
+++ b/src/net/netconsts.h
@@ -27,10 +27,10 @@
#include <stdint.h>
#endif
-#ifdef EATHENA_SUPPORT
-static const uint16_t DEFAULT_PORT = 6900;
-#else
+#ifdef TMWA_SUPPORT
static const uint16_t DEFAULT_PORT = 6901;
+#else
+static const uint16_t DEFAULT_PORT = 6900;
#endif
#endif // NET_NETCONSTS_H