- (bal) Bug #541: return; was dropped by mistake.  Reported by
   furrier@iglou.com
diff --git a/packet.c b/packet.c
index 47e795d..2abfedd 100644
--- a/packet.c
+++ b/packet.c
@@ -1429,6 +1429,7 @@
 
 	/* Only set socket options if using a socket.  */
 	if (!packet_connection_is_on_socket())
+		return;
 	if (interactive)
 		set_nodelay(connection_in);
 #if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)