Update version
[l2tpns.git] / nsctl.c
diff --git a/nsctl.c b/nsctl.c
index 057edfa..4e19468 100644 (file)
--- a/nsctl.c
+++ b/nsctl.c
@@ -8,6 +8,7 @@
 #include <netdb.h>
 #include <signal.h>
 
+#include "dhcp6.h"
 #include "l2tpns.h"
 #include "control.h"
 
@@ -141,7 +142,7 @@ static struct nsctl *request(char *host, int port, int type, int argc, char *arg
     socklen_t len = sizeof(peer);
     struct hostent *h = gethostbyname(host);
     int fd;
-    char buf[NSCTL_MAX_PKT_SZ];
+    uint8_t buf[NSCTL_MAX_PKT_SZ];
     int sz;
     char *err;