From: Ondrej Filip Date: Fri, 4 Jun 2004 17:31:03 +0000 (+0000) Subject: better log() usage. X-Git-Tag: v1.2.0~342 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=874654076a9e3d2c36a248b3d3a4066dff76276b;p=thirdparty%2Fbird.git better log() usage. --- diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 0c63ed895..4e85fad72 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);