X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/eb6906a28c887872d459890ad05cbf8e07c97b75..18c0dec97f190fa175898d1c0b509ef7c775d75e:/nsctl.c?ds=sidebyside 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;