]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Log some unusual situation.
authorOndrej Filip <feela@network.cz>
Sun, 3 Sep 2000 16:16:33 +0000 (16:16 +0000)
committerOndrej Filip <feela@network.cz>
Sun, 3 Sep 2000 16:16:33 +0000 (16:16 +0000)
proto/ospf/hello.c

index 11f3c6fb63144a9741cbc4bbad95a0e106344f41..b87b5ca66ab2e72fea043e020b850ba89d201580 100644 (file)
@@ -113,7 +113,7 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
       }
       if((found==0)&&(ifa->strictnbma))
       {
-        OSPF_TRACE(D_EVENTS, "Ignoring new neighbor: %I on %s.", faddr,
+        log("%s: Ignoring new neighbor: %I on %s.", p->name, faddr,
           ifa->iface->name);
        return;
       }
@@ -122,7 +122,7 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
         eligible=nn->eligible;
         if(((ps->priority==0)&&eligible)||((ps->priority>0)&&(eligible==0)))
         {
-          OSPF_TRACE(D_EVENTS, "Eligibility mismatch for neighbor: %I on %s",
+          log("%s: Eligibility mismatch for neighbor: %I on %s", p->name,
             faddr, ifa->iface->name);
          return;
         }