]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Small clean up. (Duplicate #defines.)
authorOndrej Filip <feela@network.cz>
Tue, 4 Apr 2000 22:27:19 +0000 (22:27 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 4 Apr 2000 22:27:19 +0000 (22:27 +0000)
proto/ospf/lsupd.c
proto/ospf/ospf.h

index 712eb737502f06d82512b0b5f86bd2520e3bfe25..1b4ecc658927cf5d2ba00596e72dcce49e655204 100644 (file)
@@ -194,11 +194,10 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
          }
 
       /* Install new */
-      DBG("Allocatin body, size: %u\n",lsatmp.length-sizeof(struct ospf_lsa_header));
       body=mb_alloc(p->pool,lsatmp.length-sizeof(struct ospf_lsa_header));
       ntohlsab(lsa+1,body,lsatmp.type,lsatmp.length-sizeof(struct ospf_lsa_header));
       lsadb=lsa_install_new(&lsatmp,body, oa);
-      DBG("New installed\n");
+      DBG("New LSA installed in DB\n");
 
       continue;
     }
index 9b653fe1e0565fc9d1a5ccdb1e73ad758c79ccb8..ea366931a94ec7ba5a4f3003547a88acb01c8253 100644 (file)
 #define LSREFRESHTIME 1800     /* 30 minutes */
 #define MINLSINTERVAL 5
 #define MINLSARRIVAL 1
-#define MAXAGE 3600            /* 1 hour */
-#define CHECKAGE 300           /* 5 minutes */
-#define MAXAGEDIFF 900         /* 15 minutes */
 #define LSINFINITY 0xffffff
 /*#define DEFAULTDES 0.0.0.0 FIXME: How to define it? */
-#define INITSEQNUM 0x80000001  /* Initial Sequence Number */
-#define MAXSEQNUM 0x7fffffff   /* Maximal Sequence Number */
 
 struct ospf_config {
   struct proto_config c;