Skip to content

Handle "No route to host" message on macOS#39

Open
xwang1498 wants to merge 1 commit intodenilsonsa:masterfrom
xwang1498:macos-no-route-to-host
Open

Handle "No route to host" message on macOS#39
xwang1498 wants to merge 1 commit intodenilsonsa:masterfrom
xwang1498:macos-no-route-to-host

Conversation

@xwang1498
Copy link
Copy Markdown
Contributor

@xwang1498 xwang1498 commented Sep 27, 2024

On macOS, if your network connection goes down, the prettyping output will be trashed with lots of ping: sendto: No route to host lines.

We should just ignore these, because we'll still get the necessary Request timeout for icmp_seq ... line soon after.

Closes #24. Closes #25 which also tries to solve this problem but double counts lost packets.

@xwang1498 xwang1498 force-pushed the macos-no-route-to-host branch from 721f1bc to eb9fb64 Compare May 31, 2025 09:11
@mostafabayat
Copy link
Copy Markdown

Excited to see this feature available.

@xwang1498
Copy link
Copy Markdown
Contributor Author

Excited to see this feature available.

@mostafabayat Also looking forward to @denilsonsa merging this in. In the meantime, please consider my fork here which has this and several other bug fixes + improvements: https://github.com/xwang1498/prettyping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle "ping: sendto: No route to host"

2 participants