X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/e2a3f0371ed4a80a0bc5bfee54f6d074b44df53f..aabf1d3fe915334f5ffab9b8e1076917add14358:/nsctl.c diff --git a/nsctl.c b/nsctl.c index 057edfa..59ad0c6 100644 --- a/nsctl.c +++ b/nsctl.c @@ -141,7 +141,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;