patch-2.4.6 linux/net/wanrouter/af_wanpipe.c
Next file: linux/net/wanrouter/wanmain.c
Previous file: linux/net/unix/garbage.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Jun 28 14:42:40 2001
-  Orig file: 
v2.4.5/linux/net/wanrouter/af_wanpipe.c
-  Orig date: 
Thu Apr 12 12:11:39 2001
diff -u --recursive --new-file v2.4.5/linux/net/wanrouter/af_wanpipe.c linux/net/wanrouter/af_wanpipe.c
@@ -2633,7 +2633,7 @@
 		return -EINVAL;
 
 	if (sk->state == WANSOCK_CONNECTED)
-		return EISCONN;	/* No reconnect on a seqpacket socket */
+		return -EISCONN;	/* No reconnect on a seqpacket socket */
 
 	if (sk->state != WAN_DISCONNECTED){
 		printk(KERN_INFO "wansock: Trying to connect on channel NON DISCONNECT\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)