Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0211/3

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Use correct names.
 [rsc] --rw-rw-r-- M 771144 glenda sys 3442 Feb 11 09:16 sys/src/cmd/ip/snoopy/bootp.c
	/n/sourcesdump/2006/0211/plan9/sys/src/cmd/ip/snoopy/bootp.c:79,85 - 
	/n/sourcesdump/2006/0212/plan9/sys/src/cmd/ip/snoopy/bootp.c:79,85
	  	Mux *m;
	  
	  	if(f->op == '='){
	- 		compile_cmp(arp.name, f, p_fields);
	+ 		compile_cmp(bootp.name, f, p_fields);
	  		return;
	  	}
	  	for(m = p_mux; m->name != nil; m++)
 [rsc] --rw-rw-r-- M 771144 glenda sys 3327 Feb 11 09:16 sys/src/cmd/ip/snoopy/gre.c
	[diffs elided - too long]
	[diff -c /n/sourcesdump/2006/0211/plan9/sys/src/cmd/ip/snoopy/gre.c /n/sourcesdump/2006/0212/plan9/sys/src/cmd/ip/snoopy/gre.c]
 [rsc] --rw-rw-r-- M 771144 glenda sys 2970 Feb 11 09:16 sys/src/cmd/ip/snoopy/icmp.c
	/n/sourcesdump/2006/0211/plan9/sys/src/cmd/ip/snoopy/icmp.c:73,79 - 
	/n/sourcesdump/2006/0212/plan9/sys/src/cmd/ip/snoopy/icmp.c:73,79
	  p_compile(Filter *f)
	  {
	  	if(f->op == '='){
	- 		compile_cmp(udp.name, f, p_fields);
	+ 		compile_cmp(icmp.name, f, p_fields);
	  		return;
	  	}
	  	if(strcmp(f->s, "ip") == 0){
 [rsc] --rw-rw-r-- M 771144 glenda sys 2260 Feb 11 09:16 sys/src/cmd/ip/snoopy/il.c
	/n/sourcesdump/2006/0211/plan9/sys/src/cmd/ip/snoopy/il.c:54,60 - 
	/n/sourcesdump/2006/0212/plan9/sys/src/cmd/ip/snoopy/il.c:54,60
	  	Mux *m;
	  
	  	if(f->op == '='){
	- 		compile_cmp(udp.name, f, p_fields);
	+ 		compile_cmp(il.name, f, p_fields);
	  		return;
	  	}
	  	for(m = p_mux; m->name != nil; m++)
 [rsc] --rw-rw-r-- M 771144 glenda sys 885 Feb 11 09:16 sys/src/cmd/ip/snoopy/mkfile
	/n/sourcesdump/2006/0211/plan9/sys/src/cmd/ip/snoopy/mkfile:11,16 - 
	/n/sourcesdump/2006/0212/plan9/sys/src/cmd/ip/snoopy/mkfile:11,17
	  	eapol\
	  	eapol_key\
	  	ether\
	+ 	gre\
	  	hdlc\
	  	icmp6\
	  	icmp\
 [rsc] --rw-rw-r-- M 771144 glenda sys 3602 Feb 11 09:16 sys/src/cmd/ip/snoopy/tcp.c
	/n/sourcesdump/2006/0211/plan9/sys/src/cmd/ip/snoopy/tcp.c:74,80 - 
	/n/sourcesdump/2006/0212/plan9/sys/src/cmd/ip/snoopy/tcp.c:74,80
	  	Mux *m;
	  
	  	if(f->op == '='){
	- 		compile_cmp(udp.name, f, p_fields);
	+ 		compile_cmp(tcp.name, f, p_fields);
	  		return;
	  	}
	  	for(m = p_mux; m->name != nil; m++)


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.