]> git.ozlabs.org Git - ppp.git/commitdiff
fix dump_packet
authorPaul Mackerras <paulus@samba.org>
Fri, 9 Nov 2001 10:33:04 +0000 (10:33 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Nov 2001 10:33:04 +0000 (10:33 +0000)
pppd/utils.c

index 580363a950dec0ee7f77afb1681c60f2880217b3..8b83e34d3ebec3d7a09da378714676c1c5acc1ea 100644 (file)
@@ -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 <stdio.h>
 #include <ctype.h>
@@ -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. */