From 91f441b35caadb42b7d20017d3f4c47031a8db5b Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Fri, 9 Nov 2001 10:33:04 +0000 Subject: [PATCH] fix dump_packet --- pppd/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pppd/utils.c b/pppd/utils.c index 580363a..8b83e34 100644 --- a/pppd/utils.c +++ b/pppd/utils.c @@ -17,7 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: utils.c,v 1.14 2001/05/23 03:39:14 paulus Exp $" +#define RCSID "$Id: utils.c,v 1.15 2001/11/09 10:33:04 paulus Exp $" #include #include @@ -790,7 +790,7 @@ dump_packet(const char *tag, unsigned char *p, int len) return; } - dbglog("%s %P", tag, p - PPP_HDRLEN, len + PPP_HDRLEN); + dbglog("%s %P", tag, p, len); } /* Procedures for locking the serial device using a lock file. */ -- 2.39.2