diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-05 00:27:19 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-05 00:27:19 +0200 |
commit | 10000b96a89d1ab4425e29164c3694aa26622b1c (patch) | |
tree | b460cc0525c87b6ff75c13caa8b4afb692d958c9 /proto/ospf | |
parent | f1f7faceb445fdfa2b2a013b791882afd68ae421 (diff) | |
download | bird-10000b96a89d1ab4425e29164c3694aa26622b1c.tar bird-10000b96a89d1ab4425e29164c3694aa26622b1c.zip |
Small clean up. (Duplicate #defines.)
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/lsupd.c | 3 | ||||
-rw-r--r-- | proto/ospf/ospf.h | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 712eb73..1b4ecc6 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -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; } diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 9b653fe..ea36693 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -40,13 +40,8 @@ #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; |