patch-2.3.16 linux/net/decnet/af_decnet.c

Next file: linux/net/decnet/dn_nsp_in.c
Previous file: linux/net/decnet/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/net/decnet/af_decnet.c linux/net/decnet/af_decnet.c
@@ -639,7 +639,7 @@
 
 static int dn_create(struct socket *sock, int protocol)
 {
-	struct	sock	*sk;
+	struct sock *sk;
 
 	switch(sock->type) {
 		case SOCK_SEQPACKET:
@@ -651,9 +651,6 @@
 #ifdef CONFIG_DECNET_RAW
 		case SOCK_RAW:
 			if ((protocol != DNPROTO_NSP) &&
-#ifdef CONFIG_DECNET_MOP
-					(protocol != DNPROTO_MOP) &&
-#endif /* CONFIG_DECNET_MOP */
 					(protocol != DNPROTO_ROU))
 				return -EPROTONOSUPPORT;
 			break;
@@ -2116,7 +2113,7 @@
 #ifdef CONFIG_SYSCTL
 	dn_register_sysctl();
 #endif /* CONFIG_SYSCTL */
-        printk(KERN_INFO "NET4: DECnet for Linux: V.2.3.13s (C) 1995-1999 Linux DECnet Project Team\n");
+        printk(KERN_INFO "NET4: DECnet for Linux: V.2.3.15s (C) 1995-1999 Linux DECnet Project Team\n");
 
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)