Revision 9b0a0ba9 conf/conf.c

View differences:

conf/conf.c
49 49
#include "nest/route.h"
50 50
#include "nest/protocol.h"
51 51
#include "nest/iface.h"
52
#include "lib/resource.h"
53
#include "lib/string.h"
54 52
#include "lib/event.h"
55 53
#include "sysdep/unix/timer.h"
56 54
#include "conf/conf.h"
57
#include "filter/filter.h"
55

  
58 56

  
59 57
static jmp_buf conf_jmpbuf;
60 58

  
......
85 83
 * further use. Returns a pointer to the structure.
86 84
 */
87 85
struct config *
88
config_alloc(const byte *name)
86
config_alloc(const char *name)
89 87
{
90 88
  pool *p = rp_new(&root_pool, "Config");
91 89
  linpool *l = lp_new(p, 4080);
......
96 94
  char *ndup = lp_allocu(l, nlen);
97 95
  memcpy(ndup, name, nlen);
98 96

  
97
  init_list(&c->tests);
99 98
  c->mrtdump_file = -1; /* Hack, this should be sysdep-specific */
100 99
  c->pool = p;
101 100
  c->mem = l;

Also available in: Unified diff