[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: in-addr.arpa problem
- To: ircd-users@xxxxxxx
 
- Subject: re: in-addr.arpa problem
 
- From: Borg88 <borg88@xxxxxx>
 
- Date: Thu, 13 Jun 2002 12:07:18 +0200
 
- Delivered-to: ircd-users-out@irc.org
 
- Delivered-to: ircd-users@irc.org
 
- Reply-to: Borg88 <borg88@xxxxxx>
 
Problem is in attach_Iline() in s_conf.c
    if (hp)
      for (i = 0, hname = hp->h_name; hname;
           hname = hp->h_aliases[i++])
So when some addr have CNAMEs, we ending up
with that in sockhost field.
I think checking aliases is pointless.
Even if addr have CNAMEs, hp->h_name point to PTR