zephyr/subsys
Stephanos Ioannidis 5aa62369d4 net: shell: Handle ENETUNREACH for IPv4 ping
This commit updates the the IPv4 ping command to handle the ENETUNREACH
error number returned by `net_icmpv4_send_echo_request` function when
IPv4 is unavailable.

The `net_icmpv4_send_echo_request` function previously returned EINVAL
when IPv4 is unavailable and this caused the shell command to report
"Invalid IP address" even when the provided IP address is correct; this
problem was corrected by returning ENETUNREACH instead of EINVAL in the
aforementioned function.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-03-11 13:25:55 -05:00
..
bluetooth Bluetooth: Mesh: Rework msg_cache 2020-03-10 17:13:32 +02:00
canbus canbus: isotp: Fix NULL deref after overflow 2020-02-10 12:32:01 +02:00
console
cpp kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
debug kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
dfu DFU: add init function with area id as parameter 2020-03-10 15:07:27 +02:00
disk gpio: rename typedef for devicetree flags 2020-02-05 12:00:36 +01:00
fb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
fs
jwt kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
logging kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
mgmt mgmt: Added Kconfig values and west.yml changes for mcumgr new version 2020-03-11 10:11:31 +01:00
net net: shell: Handle ENETUNREACH for IPv4 ping 2020-03-11 13:25:55 -05:00
power power: device: deduplicate suspending code 2020-02-02 09:05:15 -05:00
random random: remove rand32_timestamp.c 2020-03-10 10:40:13 -04:00
settings settings: settings_register static table does not need mutex 2020-02-08 10:07:38 +02:00
shell shell: use correct data type for atomic variables 2020-03-10 10:18:16 -04:00
stats
storage
testsuite kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
tracing tracing: fixes C++ compilation issue 2020-02-26 14:13:22 +02:00
usb usb: cdc_acm: set initialization level to POST_KERNEL 2020-03-11 11:09:21 +01:00
CMakeLists.txt tracing: move tracing under subsys/ 2020-02-07 15:58:05 -05:00
Kconfig tracing: move tracing under subsys/ 2020-02-07 15:58:05 -05:00