]> arthur.barton.de Git - netatalk.git/commitdiff
Change the first CNID from 3 to 17. According to the AFP 3.0 spec on page
authorjmarcus <jmarcus>
Fri, 18 Jan 2002 05:19:26 +0000 (05:19 +0000)
committerjmarcus <jmarcus>
Fri, 18 Jan 2002 05:19:26 +0000 (05:19 +0000)
31 of the PDF file, DIDs 1 through 16 are reserved.

etc/afpd/volume.c
libatalk/cnid/cnid_private.h

index 2bc3192cdcba03ccbfc3180399d49b1778effbff..83e5ffbae8786f9d5b2eeb719df7d24f9997ef51 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: volume.c,v 1.18 2002-01-04 04:45:47 sibaz Exp $
+ * $Id: volume.c,v 1.19 2002-01-18 05:19:26 jmarcus Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -462,7 +462,7 @@ static int creatvol(const char *path, char *name, struct vol_option *options)
     volume->v_qfd = -1;
 #endif /* __svr4__ */
     volume->v_vid = lastvid++;
-    volume->v_lastdid = 3;
+    volume->v_lastdid = 17;
 
     /* handle options */
     if (options) {
index eb104e25661c3523edd444689fa4156aa3633ae5..8316259bddf61274970fb78397c1f9878fe5acb7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cnid_private.h,v 1.5 2001-12-14 03:10:37 jmarcus Exp $
+ * $Id: cnid_private.h,v 1.6 2002-01-18 05:19:26 jmarcus Exp $
  */
 
 #ifndef LIBATALK_CNID_PRIVATE_H
@@ -24,7 +24,7 @@
 #define CNID_DID_LEN             4
 #define CNID_HEADER_LEN          (CNID_DEVINO_LEN + CNID_DID_LEN)
 
-#define CNID_START               3
+#define CNID_START               17
 
 #define CNIDFLAG_ROOTINFO_RO     (1 << 0)
 #define CNIDFLAG_DB_RO           (1 << 1)