patch-1.3.19 linux/net/ipv4/ip.c

Next file: linux/net/ipv4/ip_fw.c
Previous file: linux/net/ipv4/arp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/net/ipv4/ip.c linux/net/ipv4/ip.c
@@ -2820,8 +2820,12 @@
 	ip_udp_init();*/
 
 #ifdef CONFIG_IP_MULTICAST
-	proc_net_register(&(struct proc_dir_entry)
-		  { PROC_NET_IGMP, 4, "igmp", ip_mc_procinfo });
+	proc_net_register(&(struct proc_dir_entry) {
+		PROC_NET_IGMP, 4, "igmp",
+		S_IFREG | S_IRUGO, 1, 0, 0,
+		0, &proc_net_inode_operations,
+		ip_mc_procinfo
+	});
 #endif
 }
 

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