~brightbox/bird/debian-packaging

« back to all changes in this revision

Viewing changes to conf/conf.c

  • Committer: Ondřej Surý
  • Date: 2013-11-25 14:59:24 UTC
  • Revision ID: git-v1:a3c058b8752bd98df2231ac88d94931fdb4e0c65
New upstream version 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
  cfg_mem = c->mem = l;
97
97
  c->file_name = cfg_strdup(name);
98
98
  c->load_time = now;
99
 
  c->tf_base.fmt1 = c->tf_log.fmt1 = "%d-%m-%Y %T";
 
99
  c->tf_route = c->tf_proto = (struct timeformat){"%T", "%F", 20*3600};
 
100
  c->tf_base = c->tf_log = (struct timeformat){"%F %T", NULL, 0};
100
101
 
101
102
  return c;
102
103
}