From 480ae816cd86842f0ae3e29c1cc76618c4bbd5bc Mon Sep 17 00:00:00 2001 From: bfernhomberg Date: Tue, 22 Jun 2004 10:08:01 +0000 Subject: [PATCH] the maximum number of replies in a NBP packet is 15, count is 4 bit... --- etc/atalkd/nbp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/atalkd/nbp.c b/etc/atalkd/nbp.c index ee69cc31..783102fa 100644 --- a/etc/atalkd/nbp.c +++ b/etc/atalkd/nbp.c @@ -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; -- 2.39.2