Revision 51762a45 nest/rt-table.c

View differences:

nest/rt-table.c
1988 1988
  hc->slab = sl_new(rt_table_pool, sizeof(struct hostentry));
1989 1989

  
1990 1990
  hc->lp = lp_new(rt_table_pool, 1008);
1991
  hc->trie = f_new_trie(hc->lp);
1991
  hc->trie = f_new_trie(hc->lp, sizeof(struct f_trie_node));
1992 1992

  
1993 1993
  tab->hostcache = hc;
1994 1994
}
......
2136 2136

  
2137 2137
  /* Reset the trie */
2138 2138
  lp_flush(hc->lp);
2139
  hc->trie = f_new_trie(hc->lp);
2139
  hc->trie = f_new_trie(hc->lp, sizeof(struct f_trie_node));
2140 2140

  
2141 2141
  WALK_LIST_DELSAFE(n, x, hc->hostentries)
2142 2142
    {

Also available in: Unified diff