Skip to content
Commit 1c710362 authored by Kweh Hock Leong's avatar Kweh Hock Leong Committed by Christopher Friedt
Browse files

net: shell: Fix parser error on net ping command



The strtol() function use errno to return error code.
However, it is not being initialized in the parser_arg()
function before calling the strtol(). Thus, hitting error
when performing net ping command with -c / -i parameters.

Signed-off-by: default avatarKweh Hock Leong <hock.leong.kweh@intel.com>
parent fe53adec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment