before IPv6 for dnsauth is implemented
@@ -736,8 +736,12 @@ int userauth(struct clientparam * param){
int dnsauth(struct clientparam * param){
char buf[32];
+
/* FIX IT */
- unsigned u = ntohl(*(unsigned long *)SAADDR(¶m->sincr));
+ unsigned u ;
+ if(*SAFAMILY(¶m->sincr)!=AF_INET) return 6;
+ u = ntohl(*(unsigned long *)SAADDR(¶m->sincr));
sprintf(buf, "%u.%u.%u.%u.in-addr.arpa",