mirror of
https://github.com/go-ping/ping.git
synced 2025-08-10 01:17:24 +00:00
fix sysctl command
This commit is contained in:
parent
88cc1ad8dd
commit
8ee98d82c4
@ -66,7 +66,7 @@ This library attempts to send an
|
||||
"unprivileged" ping via UDP. On linux, this must be enabled by setting
|
||||
|
||||
```
|
||||
sysctl net.ipv4.ping_group_range=0
|
||||
sudo sysctl -w net.ipv4.ping_group_range="0 2147483647"
|
||||
```
|
||||
|
||||
If you do not wish to do this, you can set `pinger.SetPrivileged(true)` and
|
||||
|
Loading…
Reference in New Issue
Block a user