patch-2.1.101 linux/net/ipx/af_ipx.c
Next file: linux/net/ipx/af_spx.c
Previous file: linux/net/ipv6/udp.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri May 8 00:08:02 1998
- Orig file:
v2.1.100/linux/net/ipx/af_ipx.c
- Orig date:
Sat May 2 14:19:55 1998
diff -u --recursive --new-file v2.1.100/linux/net/ipx/af_ipx.c linux/net/ipx/af_ipx.c
@@ -1732,7 +1732,7 @@
switch(sock->type)
{
case SOCK_DGRAM:
- sk=sk_alloc(AF_IPX, GFP_KERNEL, 1);
+ sk=sk_alloc(PF_IPX, GFP_KERNEL, 1);
if(sk==NULL)
return(-ENOMEM);
sock->ops = &ipx_dgram_ops;
@@ -2300,12 +2300,12 @@
*/
static struct net_proto_family ipx_family_ops = {
- AF_IPX,
+ PF_IPX,
ipx_create
};
static struct proto_ops ipx_dgram_ops = {
- AF_IPX,
+ PF_IPX,
sock_no_dup,
ipx_release,
ipx_bind,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov