summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 0844499..28c0893 100644
--- a/src/device.c
+++ b/src/device.c
@@ -503,8 +503,8 @@ static void device_tcp_input(struct mux_device *dev, struct tcphdr *th, unsigned
503 } ENDFOREACH 503 } ENDFOREACH
504 504
505 if(!conn) { 505 if(!conn) {
506 usbmuxd_log(LL_INFO, "No connection for device %d incoming packet %d->%d", dev->id, dport, sport);
507 if(!(th->th_flags & TH_RST)) { 506 if(!(th->th_flags & TH_RST)) {
507 usbmuxd_log(LL_INFO, "No connection for device %d incoming packet %d->%d", dev->id, dport, sport);
508 if(send_anon_rst(dev, sport, dport, ntohl(th->th_seq)) < 0) 508 if(send_anon_rst(dev, sport, dport, ntohl(th->th_seq)) < 0)
509 usbmuxd_log(LL_ERROR, "Error sending TCP RST to device %d (%d->%d)", conn->dev->id, sport, dport); 509 usbmuxd_log(LL_ERROR, "Error sending TCP RST to device %d (%d->%d)", conn->dev->id, sport, dport);
510 } 510 }