The following reply was made to PR general/2117; it has been noted by GNATS.

From: Dean Gaudet <[EMAIL PROTECTED]>
To: "David J. MacKenzie" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: general/2117: The CIDR syntax support for allow and deny finds the 
'/' in comments.
Date: Wed, 22 Apr 1998 13:07:58 -0700 (PDT)

 On 22 Apr 1998, David J. MacKenzie wrote:
 
 >  int ap_hostname_syntax(char *s)
 >  {
 >      for (; *s; s++) {
 >      /* Allow : for IPv6.  */
 >      if (!isalnum(*s) && strchr("_-.:", *s) == NULL)
 >          return 0;
 >      }
 >      return 1;
 >  }
 
 _ isn't valid though... I suppose we could do something like bind does
 with it; complain but allow it.
 
 Dean
 

Reply via email to