]> arthur.barton.de Git - netatalk.git/commitdiff
the maximum number of replies in a NBP packet is 15, count is 4 bit...
authorbfernhomberg <bfernhomberg>
Tue, 22 Jun 2004 10:08:01 +0000 (10:08 +0000)
committerbfernhomberg <bfernhomberg>
Tue, 22 Jun 2004 10:08:01 +0000 (10:08 +0000)
etc/atalkd/nbp.c

index ee69cc314fabd7cd13f415ecfbcca9d1fc3fbdf8..783102fa72af3c5e4fa74f5f5197823b03dd2939 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: nbp.c,v 1.10.8.2 2004-06-20 15:54:03 bfernhomberg Exp $
+ * $Id: nbp.c,v 1.10.8.3 2004-06-22 10:08:01 bfernhomberg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved. See COPYRIGHT.
@@ -563,7 +563,7 @@ Can't find route's interface!" );
             * Another tuple won't fit. Send what we've already
             * got, and start the next packet.
             */
-           if ( n > 9 || data + SZ_NBPTUPLE + 3 + ntab->nt_nve.nn_objlen +
+           if ( n > 14 || data + SZ_NBPTUPLE + 3 + ntab->nt_nve.nn_objlen +
                    ntab->nt_nve.nn_typelen + ntab->nt_nve.nn_zonelen > end ) {
                nh.nh_op = NBPOP_LKUPREPLY;
                nh.nh_cnt = n;