]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Better log() usage.
authorOndrej Filip <feela@network.cz>
Fri, 4 Jun 2004 16:56:54 +0000 (16:56 +0000)
committerOndrej Filip <feela@network.cz>
Fri, 4 Jun 2004 16:56:54 +0000 (16:56 +0000)
proto/ospf/lsack.c

index 94f61d8ebce1bcea3d0cae1045949df780371faf..d2f20bf6756881060f6f6a22b5da0ef1a9fb834d 100644 (file)
@@ -153,7 +153,7 @@ ospf_lsack_receive(struct ospf_lsack_packet *ps, struct proto *p,
   if ((nolsa < 1) || ((lenn - sizeof(struct ospf_lsack_packet)) !=
                      (nolsa * sizeof(struct ospf_lsa_header))))
   {
-    log("%s: Received corrupted LS ack from %I", p->name, n->ip);
+    log(L_ERR "Received corrupted LS ack from %I", n->ip);
     return;
   }