]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/auth.c
Fix build
[netatalk.git] / etc / afpd / auth.c
index d6382c84118bda9b89f4b801af9b520805494840..aff77956e69b55bb6cfd2fe63b92d41cf11d31ea 100644 (file)
@@ -655,9 +655,6 @@ static int get_version(AFPObj *obj, char *ibuf, size_t ibuflen, size_t len)
     if ( i == num )                 /* An inappropo version */
         return AFPERR_BADVERS ;
 
-    if (afp_version >= 30 && obj->proto != AFPPROTO_DSI)
-        return AFPERR_BADVERS ;
-
     /* FIXME Hack */
     if (afp_version >= 30 && sizeof(off_t) != 8) {
         LOG(log_error, logtype_afpd, "get_version: no LARGE_FILE support recompile!" );