diff options
author | 1998-02-04 01:01:24 +0000 | |
---|---|---|
committer | 1998-02-04 01:01:24 +0000 | |
commit | fe4e3d5a59c607e1316fd38733ccfdd5be714fb8 (patch) | |
tree | 2107cc3821369849b6c8a0c90dd2a99be3423550 | |
parent | Several new mac68k man pages from Colin Wood. (diff) | |
download | wireguard-openbsd-fe4e3d5a59c607e1316fd38733ccfdd5be714fb8.tar.xz wireguard-openbsd-fe4e3d5a59c607e1316fd38733ccfdd5be714fb8.zip |
Correct magic number format string
Spotted by: Bruce M. Walter <walter@fortean.com>
-rw-r--r-- | usr.sbin/ppp/lcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index 9cf49252c4d..02ab7f12035 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.c,v 1.8 1998/01/21 02:13:34 brian Exp $ + * $Id: lcp.c,v 1.9 1998/02/04 01:01:24 brian Exp $ * * TODO: * o Validate magic number received from peer. @@ -714,7 +714,7 @@ LcpDecodeConfig(u_char *cp, int plen, int mode_type) LcpInfo.want_magic = GenerateMagic(); break; case MODE_REJ: - LogPrintf(LogLCP, " Magic 0x%80x is REJected!\n", magic); + LogPrintf(LogLCP, " Magic 0x%08x is REJected!\n", magic); LcpInfo.want_magic = 0; LcpInfo.his_reject |= (1 << type); break; |