diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-06 02:50:49 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-06 02:50:49 +0000 |
commit | 064b1d893243bc187980f53292414583ff3b4630 (patch) | |
tree | 38b66a1ab031e3bf7b00e3f88324eedec3d66c55 /proto/ospf/lsreq.c | |
parent | bd37f45c10be697403e59c957273d172b3d3ed8e (diff) |
Tracing.
Diffstat (limited to 'proto/ospf/lsreq.c')
-rw-r--r-- | proto/ospf/lsreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 504ab588..4951c844 100644 --- a/proto/ospf/lsreq.c +++ b/proto/ospf/lsreq.c @@ -55,7 +55,7 @@ ospf_lsreq_tx(struct ospf_neighbor *n) op->length=htons(length); ospf_pkt_finalize(n->ifa, op); sk_send_to(n->ifa->ip_sk,length, n->ip, OSPF_PROTO); - debug("%s: LS request sent to: %I\n", p->name, n->rid); + OSPF_TRACE(D_PACKETS, "LS request sent to: %I", n->rid); } void @@ -120,13 +120,13 @@ ospf_lsreq_rx(struct ospf_lsreq_packet *ps, struct proto *p, if((n=find_neigh(ifa, nrid))==NULL) { - debug("%s: Received lsreq from unknown neighbor! (%I)\n", p->name, + OSPF_TRACE(D_PACKETS, "Received lsreq from unknown neighbor! (%I)", nrid); return ; } if(n->state<NEIGHBOR_EXCHANGE) return; - debug("%s: Received LS req from neighbor: %I\n",p->name, n->ip); + OSPF_TRACE(D_EVENTS, "Received LS req from neighbor: %I", n->ip); ospf_neigh_sm(n, INM_HELLOREC); length=ntohs(ps->ospf_packet.length); |