X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/5e01d2924d4eec8915e93a2cae01217ae25ab4dc..f0aa42be0448d59684f9aa46caf7a4354b6b4f72:/control.c diff --git a/control.c b/control.c index 45657d8..bd65de5 100644 --- a/control.c +++ b/control.c @@ -1,12 +1,12 @@ // L2TPNS: control -char const *cvs_id_control = "$Id: control.c,v 1.3 2004-11-17 08:23:34 bodea Exp $"; +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, u8 type, int argc, char *argv[]) +int pack_control(char *data, int len, uint8_t type, int argc, char *argv[]) { struct nsctl_packet pkt; struct nsctl_args arg; @@ -102,7 +102,7 @@ int unpack_control(struct nsctl *control, char *data, int len) if (len < sz + 1) return NSCTL_ERR_SHORT; - s = (u8) *p; + s = (uint8_t) *p; *p++ = 0; // null terminate previous arg sz++;