From 1ae494a7e1fb7dde3ffc4e5dd7df31a1bf8dd6bf Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 7 Jun 2000 11:55:36 +0000 Subject: Avoid SEGV's in tracing. --- proto/ospf/lsupd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/lsupd.c') diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 73239a6..a5f2b79 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -369,7 +369,7 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p, lsa->age=htons(LSA_MAXAGE); lsa->sn=htonl(LSA_MAXSEQNO); OSPF_TRACE(D_EVENTS, "Premature aging self originated lsa."); - OSPF_TRACE(D_EVENTS, "%s: Type: %d, Id: %I, Rt: %I",lsatmp.type, + OSPF_TRACE(D_EVENTS, "Type: %d, Id: %I, Rt: %I",lsatmp.type, lsatmp.id, lsatmp.rt); lsasum_check(lsa,(lsa+1),po); lsatmp.checksum=ntohs(lsa->checksum); -- cgit v1.2.3