Make reply on ping commands even faster

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Removed warning about unused variables

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>