fix printing of callback
authorPaul Mackerras <paulus@samba.org>
Fri, 16 Apr 1999 11:35:43 +0000 (11:35 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 16 Apr 1999 11:35:43 +0000 (11:35 +0000)
pppd/lcp.c

index 1ee727fa0fe2f4b51d60793e9a9d079f8c9e7d49..73f310d9e1505ebdc696ee2874fd6892df4f7cad 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: lcp.c,v 1.37 1999/03/19 01:24:56 paulus Exp $";
+static char rcsid[] = "$Id: lcp.c,v 1.38 1999/04/16 11:35:43 paulus Exp $";
 #endif
 
 /*
@@ -1724,7 +1724,7 @@ lcp_printpkt(p, plen, printer, arg)
                if (olen >= CILEN_CHAR) {
                    p += 2;
                    printer(arg, "callback ");
-                   GETSHORT(cishort, p);
+                   GETCHAR(cishort, p);
                    switch (cishort) {
                    case CBCP_OPT:
                        printer(arg, "CBCP");