diff options
Diffstat (limited to 'ospf6d/ospf6_lsdb.h')
-rw-r--r-- | ospf6d/ospf6_lsdb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ospf6d/ospf6_lsdb.h b/ospf6d/ospf6_lsdb.h index 71d996ee..a10f001c 100644 --- a/ospf6d/ospf6_lsdb.h +++ b/ospf6d/ospf6_lsdb.h @@ -27,6 +27,7 @@ struct ospf6_lsdb { + void *data; /* data structure that holds this lsdb */ struct route_table *table; u_int32_t count; void (*hook_add) (struct ospf6_lsa *); @@ -40,7 +41,7 @@ struct ospf6_lsdb { \ if (! OSPF6_LSA_IS_MAXAGE (lsa)) \ continue; \ - if (lsa->onretrans != 0) \ + if (lsa->retrans_count != 0) \ continue; \ if (IS_OSPF6_DEBUG_LSA (TIMER)) \ zlog_info (" remove maxage %s", lsa->name); \ @@ -49,7 +50,7 @@ struct ospf6_lsdb } while (0) /* Function Prototypes */ -struct ospf6_lsdb *ospf6_lsdb_create (); +struct ospf6_lsdb *ospf6_lsdb_create (void *data); void ospf6_lsdb_delete (struct ospf6_lsdb *lsdb); struct ospf6_lsa *ospf6_lsdb_lookup (u_int16_t type, u_int32_t id, |