antirez / hping

hping network tool
Other
1.44k stars 333 forks source link

Added cmd option --icmp-echoid #22

Closed kogdenko closed 6 years ago

kogdenko commented 8 years ago

If --icmp-echoid not specified get pid as echo id

In previous version you set echo.id as getpid() instead of htons(getpid()) I suppose it is a bug and fix it.