From owner-freebsd-net Tue Oct 31 13:14:59 2000 Delivered-To: freebsd-net@freebsd.org Received: from ozias.inrs-telecom.uquebec.ca (ozias.inrs-telecom.uquebec.ca [192.26.211.164]) by hub.freebsd.org (Postfix) with ESMTP id 4F0B137B4C5 for ; Tue, 31 Oct 2000 13:14:56 -0800 (PST) Received: from cholla.INRS-Telecom.UQuebec.CA (cholla [192.26.211.110]) by ozias.inrs-telecom.uquebec.ca (8.11.0/8.9.1) with ESMTP id e9VLF1U06685 for ; Tue, 31 Oct 2000 16:15:01 -0500 (EST) Received: from cholla by cholla.INRS-Telecom.UQuebec.CA (8.9.3+Sun/SMI-SVR4) id QAA21225; Tue, 31 Oct 2000 16:14:55 -0500 (EST) Message-Id: <200010312114.QAA21225@cholla.INRS-Telecom.UQuebec.CA> Date: Tue, 31 Oct 2000 16:14:55 -0500 (EST) From: Tarik Alj Reply-To: Tarik Alj Subject: bdg_forward To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: QTH56R92xdqg8DIy+ls4Mg== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I would like some clarification on something that happens in bdg_forward when forwarding broadcast frames (such as ARP requests). In the beginning of the code last is initialized to NULL, so that if a frame arrives on an iface whose index is higher than 1 it will not be forwarded on the interface with index 1 because the if test after the for(;;) loop will fail. Is this meant to be this way? And if so, could someone explain to me why? I am working with bridge.c v1.16, thanks in advance, -Tarik. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message