patch-2.1.15 linux/net/ipv6/ipv6_sockglue.c
Next file: linux/net/ipv6/ndisc.c
Previous file: linux/net/ipv6/ipv6_route.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Dec 12 16:54:25 1996
- Orig file:
v2.1.14/linux/net/ipv6/ipv6_sockglue.c
- Orig date:
Fri Nov 15 23:49:12 1996
diff -u --recursive --new-file v2.1.14/linux/net/ipv6/ipv6_sockglue.c linux/net/ipv6/ipv6_sockglue.c
@@ -113,12 +113,13 @@
sk->prot = &tcp_prot;
tp->af_specific = &ipv4_specific;
+ sk->socket->ops = &inet_stream_ops;
}
else
{
sk->prot = &udp_prot;
+ sk->socket->ops = &inet_dgram_ops;
}
- sk->socket->ops = &inet_proto_ops;
retv = 0;
}
else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov