mirror of
https://github.com/norohind/hans.git
synced 2025-04-22 00:40:28 +03:00
changed magic strings
This commit is contained in:
parent
38ecf132ce
commit
ea47a484fe
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user