Don't ntohl() the signature before printing it... it's already

been done.

Spotted by: Gert-Jan Vons <gert-jan@bigfoot.com>
This commit is contained in:
Brian Somers 1999-10-16 09:18:15 +00:00
parent d8517c5437
commit 7ca1ffb46f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52304

View File

@ -109,7 +109,7 @@ lqr_RecvEcho(struct fsm *fp, struct mbuf *bp)
hdlc->lqm.echo.seq_recv = lqr.sequence;
} else
log_Printf(LogWARN, "lqr_RecvEcho: Got sig 0x%08lx, not 0x%08lx !\n",
(u_long)ntohl(lqr.signature), (u_long)SIGNATURE);
(u_long)lqr.signature, (u_long)SIGNATURE);
} else
log_Printf(LogWARN, "lqr_RecvEcho: Got packet size %d, expecting %ld !\n",
mbuf_Length(bp), (long)sizeof(struct echolqr));