summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ppp/auth.c4
-rw-r--r--usr.sbin/ppp/ccp.c3
-rw-r--r--usr.sbin/ppp/link.c3
-rw-r--r--usr.sbin/ppp/pap.c3
-rw-r--r--usr.sbin/ppp/vjcomp.c3
5 files changed, 10 insertions, 6 deletions
diff --git a/usr.sbin/ppp/auth.c b/usr.sbin/ppp/auth.c
index 2373289..a60b525 100644
--- a/usr.sbin/ppp/auth.c
+++ b/usr.sbin/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.41 1999/02/20 01:12:45 brian Exp $
+ * $Id: auth.c,v 1.42 1999/02/26 21:28:06 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/ccp.c b/usr.sbin/ppp/ccp.c
index 4aa773b..85d5385 100644
--- a/usr.sbin/ppp/ccp.c
+++ b/usr.sbin/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.43 1999/02/26 21:28:07 brian Exp $
+ * $Id: ccp.c,v 1.44 1999/03/11 01:49:15 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/link.c b/usr.sbin/ppp/link.c
index c3a7453..1473969 100644
--- a/usr.sbin/ppp/link.c
+++ b/usr.sbin/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.6 1998/08/26 18:07:56 brian Exp $
+ * $Id: link.c,v 1.7 1999/02/06 02:54:46 brian Exp $
*
*/
#include <sys/types.h>
#include <stdio.h>
+#include <string.h>
#include <termios.h>
#include "defs.h"
diff --git a/usr.sbin/ppp/pap.c b/usr.sbin/ppp/pap.c
index 681f90d..1459e51 100644
--- a/usr.sbin/ppp/pap.c
+++ b/usr.sbin/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.31 1999/02/06 02:54:47 brian Exp $
+ * $Id: pap.c,v 1.32 1999/02/20 01:12:45 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/vjcomp.c b/usr.sbin/ppp/vjcomp.c
index 5c257bf..269ff95 100644
--- a/usr.sbin/ppp/vjcomp.c
+++ b/usr.sbin/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.25 1999/02/06 02:54:47 brian Exp $
+ * $Id: vjcomp.c,v 1.26 1999/03/29 08:21:28 brian Exp $
*
* TODO:
*/
@@ -28,6 +28,7 @@
#include <sys/un.h>
#include <stdio.h>
+#include <string.h>
#include "mbuf.h"
#include "log.h"
OpenPOWER on IntegriCloud