Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pinger/src/linux.rs: use "ping -6" instead of "ping6"#546

Open
ryanmjacobs wants to merge 1 commit intoorf:masterfrom
ryanmjacobs:linux-ping6
Open

pinger/src/linux.rs: use "ping -6" instead of "ping6"#546
ryanmjacobs wants to merge 1 commit intoorf:masterfrom
ryanmjacobs:linux-ping6

Conversation

@ryanmjacobs
Copy link

@ryanmjacobs ryanmjacobs commented Oct 6, 2025

pinger/src/linux.rs: use "ping -6" instead of "ping6"
ping6 does not exist on my system (iputils 20250605-1)

gping -6 fails otherwise.

$ gping -6 example.com
Error: Error spawning ping: No such file or directory (os error 2)

Caused by:
    No such file or directory (os error 2)

Note: Probably don't need to modify the BusyBox command.
However, busybox ping supports the same -4/-6 flags:

$ busybox ping --help
...
-4,-6           Force IP or IPv6 name resolution

`ping6` does not exist on my system (`iputils 20250605-1`)

`gping -6` fails otherwise.

```
$ gping -6 example.com
Error: Error spawning ping: No such file or directory (os error 2)

Caused by:
    No such file or directory (os error 2)
```

Note: Probably don't need to modify the BusyBox command.
However, `busybox ping` supports the same `-4/-6` flags:
```
$ busybox ping --help
...
-4,-6           Force IP or IPv6 name resolution
```
@ryanmjacobs ryanmjacobs force-pushed the linux-ping6 branch 2 times, most recently from c1a6605 to 7ef8e1d Compare December 1, 2025 09:13
@ryanmjacobs
Copy link
Author

@orf Do you mind reviewing this PR? Without it, I have to copy around a self-compiled to newer systems. Thanks!

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.

1 participant