~ubuntu-branches/ubuntu/feisty/syslog-ng/feisty-security

« back to all changes in this revision

Viewing changes to src/sgroup.c

  • Committer: Bazaar Package Importer
  • Author(s): SZALAY Attila
  • Date: 2006-11-17 09:37:45 UTC
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20061117093745-5no9gnsa443j48v2
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
  self->normalize_hostnames = cfg->normalize_hostnames;
50
50
  self->use_dns = cfg->use_dns;
51
51
  self->use_fqdn = cfg->use_fqdn;
52
 
  /* self->cache = cfg->cache; */
 
52
  self->use_dns_cache = cfg->use_dns_cache;
53
53
  self->keep_hostname = cfg->keep_hostname;
54
54
 
55
55
  for (p = self->drivers; p; p = p->drv_next)
92
92
{
93
93
  LogSourceGroup *self = (LogSourceGroup *) s;
94
94
 
95
 
  resolve_hostname(msg->host_from, msg->saddr, self->use_dns, self->use_fqdn);
 
95
  resolve_hostname(msg->host_from, msg->saddr, self->use_dns, self->use_fqdn, self->use_dns_cache);
96
96
  
97
97
  msg->source_group = self;
98
98