summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usbmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbmux.c b/src/usbmux.c
index 927928e..d7f0710 100644
--- a/src/usbmux.c
+++ b/src/usbmux.c
@@ -771,7 +771,7 @@ int usbmux_free_client(usbmux_client_t client)
int err = 0;
int result = 0;
pthread_mutex_lock(&client->mutex);
- client->header->tcp_flags = TCP_FIN;
+ client->header->tcp_flags = TCP_RST;
client->header->length = 0x1C;
client->header->window = 0;
client->header->length16 = 0x1C;