patch-2.3.25 linux/net/ipv6/ip6_flowlabel.c
Next file: linux/net/ipv6/mcast.c
Previous file: linux/net/ipv6/af_inet6.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Oct 28 14:34:44 1999
- Orig file:
v2.3.24/linux/net/ipv6/ip6_flowlabel.c
- Orig date:
Thu Aug 26 13:05:46 1999
diff -u --recursive --new-file v2.3.24/linux/net/ipv6/ip6_flowlabel.c linux/net/ipv6/ip6_flowlabel.c
@@ -606,15 +606,10 @@
void ip6_flowlabel_init()
{
-#ifdef CONFIG_PROC_FS
- struct proc_dir_entry *ent;
-#endif
-
init_timer(&ip6_fl_gc_timer);
ip6_fl_gc_timer.function = ip6_fl_gc;
#ifdef CONFIG_PROC_FS
- ent = create_proc_entry("net/ip6_flowlabel", 0, 0);
- ent->read_proc = ip6_fl_read_proc;
+ create_proc_read_entry("net/ip6_flowlabel", 0, 0, ip6_fl_read_proc, NULL);
#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)