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:
parent
a8118c03e1
commit
16dcdca31e
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user