From bb3c7c6d22c48cd78b4c5b77a78ff1b92adca053 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 3 Dec 2009 18:56:39 +0100 Subject: Fixes some log messages. --- proto/ospf/lsreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/lsreq.c') diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 6785644..49d3894 100644 --- a/proto/ospf/lsreq.c +++ b/proto/ospf/lsreq.c @@ -28,7 +28,7 @@ static void ospf_dump_lsreq(struct proto *p, struct ospf_lsreq_packet *pkt) sizeof(struct ospf_lsreq_header); for (i = 0; i < j; i++) - log(L_TRACE "%s: LSR Id: %R, Rt: %R, Type: 0x%x", p->name, + log(L_TRACE "%s: LSR Id: %R, Rt: %R, Type: 0x%04x", p->name, htonl(pkt->lsh[i].id), htonl(pkt->lsh[i].rt), htonl(pkt->lsh[i].type)); } -- cgit v1.2.3