patch-2.4.0-test10 linux/net/802/psnap.c
Next file: linux/net/802/tr.c
Previous file: linux/net/802/p8022.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Oct 16 12:42:53 2000
- Orig file:
v2.4.0-test9/linux/net/802/psnap.c
- Orig date:
Tue Jul 18 16:09:27 2000
diff -u --recursive --new-file v2.4.0-test9/linux/net/802/psnap.c linux/net/802/psnap.c
@@ -89,12 +89,14 @@
EXPORT_SYMBOL(register_snap_client);
EXPORT_SYMBOL(unregister_snap_client);
-void __init snap_proto_init(struct net_proto *pro)
+static int __init snap_init(void)
{
snap_dl=register_8022_client(0xAA, snap_rcv);
if(snap_dl==NULL)
printk("SNAP - unable to register with 802.2\n");
+ return 0;
}
+module_init(snap_init);
/*
* Register SNAP clients. We don't yet use this for IP.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)