go-ping / ping

ICMP Ping library for Go
MIT License
1.33k stars 345 forks source link

Only check icmp ID match when on privileged #181

Closed HuKeping closed 3 years ago

HuKeping commented 3 years ago

Fixes #180

When on non-privileged role, linux kernel would only automatically sequential increment the identifier.

Signed-off-by: Hu Keping hukeping@huawei.com Signed-off-by: Li Guoshuai liguoshuai@huawei.com

HuKeping commented 3 years ago

closing as the issue is on discussing.