diff options
-rw-r--r-- | usr.sbin/ppp/ppp/auth.c | 4 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/ccp.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/link.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/pap.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/vjcomp.c | 3 |
5 files changed, 10 insertions, 6 deletions
diff --git a/usr.sbin/ppp/ppp/auth.c b/usr.sbin/ppp/ppp/auth.c index 9898fb433d0..3b43977c601 100644 --- a/usr.sbin/ppp/ppp/auth.c +++ b/usr.sbin/ppp/ppp/auth.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: auth.c,v 1.9 1999/02/26 21:28:18 brian Exp $ + * $Id: auth.c,v 1.10 1999/03/31 14:22:10 brian Exp $ * * TODO: * o Implement check against with registered IP addresses. @@ -335,7 +335,7 @@ auth_ReadHeader(struct authinfo *authp, struct mbuf *bp) } else { authp->in.hdr.length = htons(0); log_Printf(LogWARN, "auth_ReadHeader: Short packet header (%d > %d) !\n", - sizeof authp->in.hdr, len); + (int)(sizeof authp->in.hdr), len); } mbuf_Free(bp); diff --git a/usr.sbin/ppp/ppp/ccp.c b/usr.sbin/ppp/ppp/ccp.c index be3f62fa765..c039dbe6215 100644 --- a/usr.sbin/ppp/ppp/ccp.c +++ b/usr.sbin/ppp/ppp/ccp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ccp.c,v 1.4 1999/03/11 01:50:04 brian Exp $ + * $Id: ccp.c,v 1.5 1999/03/31 14:22:10 brian Exp $ * * TODO: * o Support other compression protocols @@ -30,6 +30,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <termios.h> #include "defs.h" diff --git a/usr.sbin/ppp/ppp/link.c b/usr.sbin/ppp/ppp/link.c index 0ec31d7ec28..6feb2e616f8 100644 --- a/usr.sbin/ppp/ppp/link.c +++ b/usr.sbin/ppp/ppp/link.c @@ -23,13 +23,14 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: link.c,v 1.2 1999/02/06 03:22:41 brian Exp $ + * $Id: link.c,v 1.3 1999/03/31 14:22:11 brian Exp $ * */ #include <sys/types.h> #include <stdio.h> +#include <string.h> #include <termios.h> #include "defs.h" diff --git a/usr.sbin/ppp/ppp/pap.c b/usr.sbin/ppp/ppp/pap.c index e5f825b2bf3..0f284c3f892 100644 --- a/usr.sbin/ppp/ppp/pap.c +++ b/usr.sbin/ppp/ppp/pap.c @@ -18,7 +18,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: pap.c,v 1.5 1999/02/20 01:15:13 brian Exp $ + * $Id: pap.c,v 1.6 1999/03/31 14:22:11 brian Exp $ * * TODO: */ @@ -29,6 +29,7 @@ #include <sys/un.h> #include <stdlib.h> +#include <string.h> #include <termios.h> #include "mbuf.h" diff --git a/usr.sbin/ppp/ppp/vjcomp.c b/usr.sbin/ppp/ppp/vjcomp.c index 31627face6e..1da32434f6a 100644 --- a/usr.sbin/ppp/ppp/vjcomp.c +++ b/usr.sbin/ppp/ppp/vjcomp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: vjcomp.c,v 1.3 1999/03/29 08:20:33 brian Exp $ + * $Id: vjcomp.c,v 1.4 1999/03/31 14:22:11 brian Exp $ * * TODO: */ @@ -28,6 +28,7 @@ #include <sys/un.h> #include <stdio.h> +#include <string.h> #include "mbuf.h" #include "log.h" |