From owner-cvs-all Mon Jul 26 16:27:38 1999 Delivered-To: cvs-all@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id DF7D314E1B; Mon, 26 Jul 1999 16:27:33 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id QAA75509; Mon, 26 Jul 1999 16:26:23 -0700 (PDT) From: Archie Cobbs Message-Id: <199907262326.QAA75509@bubba.whistle.com> Subject: Re: cvs commit: src/sys/net if_tun.c In-Reply-To: from Dag-Erling Smorgrav at "Jul 26, 99 06:52:47 pm" To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Mon, 26 Jul 1999 16:26:23 -0700 (PDT) Cc: bright@rush.net, des@flood.ping.uio.no, brian@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Dag-Erling Smorgrav writes: > Alfred Perlstein writes: > > I still think it's an error to write a zero length packet to the > > tun device > > Why? I can't see any reason why it should be an error. Just ignore it > silently. I agree.. /dev/tun0 is inherently frame oriented, just like, eg, a synchronous HDLC card. It's perfectly valid (though usually meaningless) to send a zero length HDLC frame. There's nothing special about the number zero. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message