Skip to content

fix: use one second default ping interval on OpenBSD#574

Open
xfocus3 wants to merge 1 commit into
orf:masterfrom
xfocus3:fix/openbsd-default-interval-392
Open

fix: use one second default ping interval on OpenBSD#574
xfocus3 wants to merge 1 commit into
orf:masterfrom
xfocus3:fix/openbsd-default-interval-392

Conversation

@xfocus3

@xfocus3 xfocus3 commented Jun 1, 2026

Copy link
Copy Markdown

Summary

  • Use a 1.0s default ping interval on OpenBSD, where unprivileged users cannot use sub-second ping intervals.
  • Keep the existing 0.2s default on other platforms and the 0.5s --cmd default unchanged.
  • Update the --watch-interval help text to mention the OpenBSD-specific default.

Closes #392.

Verification

  • cargo fmt --all -- --check
  • cargo check -p gping
  • cargo test -p gping --no-run

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.

Choose a more sensible default interval on OpenBSD.

1 participant