patch-pre2.0.10 linux/net/ax25/af_ax25.c

Next file: linux/net/core/dev.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.9/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -2395,7 +2395,7 @@
 	dev_add_pack(&bpq_packet_type);
 #endif
 	register_netdevice_notifier(&ax25_dev_notifier);
-			  
+#ifdef CONFIG_PROC_FS			  
 	proc_net_register(&(struct proc_dir_entry) {
 		PROC_NET_AX25_ROUTE, 10, "ax25_route",
 		S_IFREG | S_IRUGO, 1, 0, 0,
@@ -2414,8 +2414,9 @@
 		0, &proc_net_inode_operations,
 		ax25_cs_get_info
 	});
+#endif	
 
-	printk(KERN_INFO "G4KLX/GW4PTS AX.25 for Linux. Version 0.32 BETA for Linux NET3.035 (Linux 2.0)\n");
+	printk(KERN_INFO "G4KLX/GW4PTS AX.25 for Linux. Version 0.32 for Linux NET3.035 (Linux 2.0)\n");
 
 #ifdef CONFIG_BPQETHER
 	proc_net_register(&(struct proc_dir_entry) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this