summaryrefslogtreecommitdiff
path: root/proto/ospf/lsupd.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-07 11:55:36 +0000
committerMartin Mares <mj@ucw.cz>2000-06-07 11:55:36 +0000
commit1ae494a7e1fb7dde3ffc4e5dd7df31a1bf8dd6bf (patch)
tree534312280ff067464e498338ba426b94ebb0b6aa /proto/ospf/lsupd.c
parent8cd5c52fcb7d429f41601f7be114168cb2371072 (diff)
Avoid SEGV's in tracing.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r--proto/ospf/lsupd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index 73239a63..a5f2b794 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);