From 874654076a9e3d2c36a248b3d3a4066dff76276b Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 4 Jun 2004 17:31:03 +0000 Subject: better log() usage. --- proto/ospf/lsreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 0c63ed8..4e85fad 100644 --- a/proto/ospf/lsreq.c +++ b/proto/ospf/lsreq.c @@ -109,7 +109,7 @@ ospf_lsreq_receive(struct ospf_lsreq_packet *ps, if (ospf_hash_find(n->ifa->oa->gr, llsh->lsh.id, llsh->lsh.rt, llsh->lsh.type) == NULL) { - log("Received bad LS req from: %I looking: RT: %I, ID: %I, Type: %u", + log(L_WARN "Received bad LS req from: %I looking: RT: %I, ID: %I, Type: %u", n->ip, lsh->rt, lsh->id, lsh->type); ospf_neigh_sm(n, INM_BADLSREQ); rfree(upslab); -- cgit v1.2.3