Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ping's interface option doesn't work on BSD #3721

Closed
Ulrar opened this issue Jan 25, 2018 · 6 comments
Closed

ping's interface option doesn't work on BSD #3721

Ulrar opened this issue Jan 25, 2018 · 6 comments
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@Ulrar
Copy link

Ulrar commented Jan 25, 2018

Hi,

The ping's interface option seems to use -I, which on linux is to set the interface but on BSD has to do with multicast. In any case, it doesn't work, so either a fix or a warning in the doc would be good.

@danielnelson
Copy link
Contributor

Can you let me know a bit more about your platform and ping version (ping -V perhaps)?

@Ulrar
Copy link
Author

Ulrar commented Jan 25, 2018 via email

@danielnelson
Copy link
Contributor

Thanks, I'll take a look.

@danielnelson danielnelson added bug unexpected problem or unintended behavior and removed need more info labels Jan 25, 2018
@phlipse
Copy link
Contributor

phlipse commented Jan 26, 2018

FreeBSD ping doesn't have a parameter to specify the outgoing interface. But it has one to specify the source address. This has in most situations the same effect. To do it you have to use the parameter S. I'll make a pull request this evening (CET).

@Ulrar
Copy link
Author

Ulrar commented Jan 26, 2018 via email

@danielnelson
Copy link
Contributor

@phlipse your patch will be in 1.6, thanks!

@danielnelson danielnelson added this to the 1.6.0 milestone Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants