]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
better log() usage.
authorOndrej Filip <feela@network.cz>
Fri, 4 Jun 2004 17:31:03 +0000 (17:31 +0000)
committerOndrej Filip <feela@network.cz>
Fri, 4 Jun 2004 17:31:03 +0000 (17:31 +0000)
proto/ospf/lsreq.c

index 0c63ed895efc5b978bec3449a7ec22c4b57605c8..4e85fad725436e65649cba07798d53a31e01f0ce 100644 (file)
@@ -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);