diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-07 13:55:36 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-07 13:55:36 +0200 |
commit | 1ae494a7e1fb7dde3ffc4e5dd7df31a1bf8dd6bf (patch) | |
tree | 534312280ff067464e498338ba426b94ebb0b6aa /proto/ospf/lsupd.c | |
parent | 8cd5c52fcb7d429f41601f7be114168cb2371072 (diff) | |
download | bird-1ae494a7e1fb7dde3ffc4e5dd7df31a1bf8dd6bf.tar bird-1ae494a7e1fb7dde3ffc4e5dd7df31a1bf8dd6bf.zip |
Avoid SEGV's in tracing.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r-- | proto/ospf/lsupd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |