mirror of
https://github.com/norohind/hans.git
synced 2026-11-22 02:56:43 +03:00
changed magic strings
This commit is contained in:
1 parent
38ecf132ce
commit
ea47a484fe
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
const Worker::TunnelHeader::Magic Client::magic("9967");
|
||||
const Worker::TunnelHeader::Magic Client::magic("hanc");
|
||||
|
||||
Client::Client(int tunnelMtu, const char *deviceName, uint32_t serverIp, int maxPolls,
|
||||
const char *passphrase, uid_t uid, gid_t gid, bool changeEchoId, bool changeEchoSeq)
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
const Worker::TunnelHeader::Magic Server::magic("9973");
|
||||
const Worker::TunnelHeader::Magic Server::magic("hans");
|
||||
|
||||
Server::Server(int tunnelMtu, const char *deviceName, const char *passphrase, uint32_t network, bool answerEcho, uid_t uid, gid_t gid, int pollTimeout)
|
||||
: Worker(tunnelMtu, deviceName, answerEcho, uid, gid), auth(passphrase)
|
||||
|
||||
Reference in new issue
Block a user