~kris/9p

9hist

0103abfceb980d7d3f76cd72b9b8378dce4b2f22 — David du Colombier 35 years ago 0c44eaf
Plan 9 from Bell Labs 1991-05-10
2 files changed, 1 insertions(+), 2 deletions(-)

M port/devlance.c
M port/stnoether.c
M port/devlance.c => port/devlance.c +0 -1
@@ 799,7 799,6 @@ lancekproc(void *arg)
					break;
				qunlock(e);
			}
	
			/*
			 *  If no match, see if any stream has type -1.
			 *  It matches all packets.

M port/stnoether.c => port/stnoether.c +1 -1
@@ 186,7 186,7 @@ noetheriput(Queue *q, Block *bp)
	circuit = (nh->circuit[2]<<16) | (nh->circuit[1]<<8) | nh->circuit[0];
	s = (nh->sum[1]<<8) | nh->sum[0];
	if(s && s!=nonetcksum(bp, ETHERHDRSIZE)){
/*		print("checksum error %ux %ux\n", s, (nh->sum[1]<<8) | nh->sum[0]); /**/
		print("checksum error %ux %ux\n", s, (nh->sum[1]<<8) | nh->sum[0]); /**/
		freeb(bp);
		return;
	}