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 1999-10-16 09:18:15 +00:00
parent a8118c03e1
commit 16dcdca31e

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));