patch-2.3.25 linux/net/ipv4/fib_frontend.c
Next file: linux/net/ipv4/ip_output.c
Previous file: linux/net/ipv4/arp.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Oct 28 14:34:44 1999
- Orig file:
v2.3.24/linux/net/ipv4/fib_frontend.c
- Orig date:
Tue Aug 31 17:29:15 1999
diff -u --recursive --new-file v2.3.24/linux/net/ipv4/fib_frontend.c linux/net/ipv4/fib_frontend.c
@@ -648,12 +648,7 @@
void __init ip_fib_init(void)
{
#ifdef CONFIG_PROC_FS
- proc_net_register(&(struct proc_dir_entry) {
- PROC_NET_ROUTE, 5, "route",
- S_IFREG | S_IRUGO, 1, 0, 0,
- 0, &proc_net_inode_operations,
- fib_get_procinfo
- });
+ proc_net_create("route",0,fib_get_procinfo);
#endif /* CONFIG_PROC_FS */
#ifndef CONFIG_IP_MULTIPLE_TABLES
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)