try to fix travis CI compilation
This commit is contained in:
parent
1eb3b6f74e
commit
c78abbddf7
@ -43,7 +43,7 @@
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
constexpr uint8_t GetPublicAddress::m_stun_magic_cookie[4]; // make the linker happy
|
||||
const uint8_t GetPublicAddress::m_stun_magic_cookie[4] = {0x21, 0x12, 0xA4, 0x42}; // make the linker happy
|
||||
|
||||
/** Creates a STUN request and sends it to a random STUN server selected from
|
||||
* the list stored in the config file. See https://tools.ietf.org/html/rfc5389#section-6
|
||||
|
@ -40,7 +40,7 @@ class GetPublicAddress : public Protocol
|
||||
std::string parseStunResponse();
|
||||
|
||||
// Constants
|
||||
static constexpr uint8_t m_stun_magic_cookie[4] = {0x21, 0x12, 0xA4, 0x42};
|
||||
static const uint8_t m_stun_magic_cookie[4];
|
||||
static const int m_stun_server_port = 3478;
|
||||
|
||||
enum STATE
|
||||
|
Loading…
Reference in New Issue
Block a user