X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/6b1075b65c4239e97629f3a891f49f5ae9ef3d4b..ec4f5a95de78fd6dea23e8a20ace3144e4e3eea6:/control.c diff --git a/control.c b/control.c index d67a57c..3d38b22 100644 --- a/control.c +++ b/control.c @@ -1,12 +1,10 @@ // L2TPNS: control -char const *cvs_id_control = "$Id: control.c,v 1.4 2004/12/16 08:49:53 bodea Exp $"; - #include #include "l2tpns.h" #include "control.h" -int pack_control(char *data, int len, uint8_t type, int argc, char *argv[]) +int pack_control(uint8_t *data, int len, uint8_t type, int argc, char *argv[]) { struct nsctl_packet pkt; struct nsctl_args arg; @@ -62,7 +60,7 @@ int pack_control(char *data, int len, uint8_t type, int argc, char *argv[]) return sz; } -int unpack_control(struct nsctl *control, char *data, int len) +int unpack_control(struct nsctl *control, uint8_t *data, int len) { struct nsctl_packet pkt; char *p = pkt.argv;