warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn.git
Log | Files | Refs | README

commit 03cfca7969ac394bb7df38d8bd1e1c7565080d55
parent c3a973ccab814e503dee96f28c03270ce4c319b8
Author: sin <sin@2f30.org>
Date:   Tue, 12 Apr 2016 17:06:42 +0100

move default port to a define in stun.h

Diffstat:
stun.c | 2+-
stun.h | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/stun.c b/stun.c @@ -56,7 +56,7 @@ char *argv0; char *bindaddr; char *host; -char *port = "12080"; +char *port = DEFPORT; char *cipher = DEFCIPHER; int devtype = TUNDEV; int debug; diff --git a/stun.h b/stun.h @@ -4,6 +4,7 @@ #define HDRLEN 2 #define MAXPAYLOADLEN 1424 #define NROUNDS 100000 +#define DEFPORT "12080" #define DEFCIPHER "chacha20-poly1305" enum {