summaryrefslogtreecommitdiff
path: root/curvetun.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:58:51 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:58:51 +0200
commitb1d59d3eda7ee4f09b30f807d72aac2af58409ac (patch)
tree1131681dd1b0aaf6d4d01ae6c7504422097d43ce /curvetun.c
parent83ef345503943cc6f7c2f02381f71113601e8261 (diff)
stun: add header file
Add a header file for stun functions. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'curvetun.c')
-rw-r--r--curvetun.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/curvetun.c b/curvetun.c
index eb8bcde..00fcd2e 100644
--- a/curvetun.c
+++ b/curvetun.c
@@ -28,6 +28,7 @@
#include "die.h"
#include "str.h"
#include "sig.h"
+#include "stun.h"
#include "cookie.h"
#include "ioexact.h"
#include "xmalloc.h"
@@ -44,8 +45,6 @@
#define CURVETUN_ENTROPY_SOURCE "/dev/random"
-extern void print_stun_probe(char *server, uint16_t sport, uint16_t tunport);
-
enum working_mode {
MODE_UNKNOW,
MODE_KEYGEN,