summaryrefslogtreecommitdiffstats
path: root/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/packet.c b/packet.c
index 47e795db..2abfeddb 100644
--- a/packet.c
+++ b/packet.c
@@ -1429,6 +1429,7 @@ packet_set_interactive(int interactive)
/* 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)