zephyr/subsys/net/lib/shell
Robert Lubos 8a75a4b9db net: shell: Fix array indexing with dynamic iface command
Network interface numbering starts from 1, therefore when accessing
help/index array, the interface index should not be used directly, but
rather decremented by 1, to avoid out-of-bound access on those arrays.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-11-20 09:24:47 +01:00
..
allocs.c net: shell: Add allocs command 2023-10-23 10:40:28 +02:00
arp.c net: shell: Add arp command 2023-10-23 10:40:28 +02:00
capture.c net: shell: Add capture command 2023-10-23 10:40:28 +02:00
CMakeLists.txt net: shell: Add net-sockets command 2023-10-24 11:11:30 +02:00
common.h net: shell: Allow dynamic interface name expansion 2023-10-23 10:40:28 +02:00
conn.c net: shell: Add conn command 2023-10-23 10:40:28 +02:00
dns.c net: shell: Add dns command 2023-10-23 10:40:28 +02:00
events.c net: shell: Add events command 2023-10-23 10:40:28 +02:00
gptp.c net: shell: Add gptp command 2023-10-23 10:40:28 +02:00
iface_dynamic.h net: shell: Fix array indexing with dynamic iface command 2023-11-20 09:24:47 +01:00
iface.c net: shell: Print device and wifi information for iface cmd 2023-11-06 15:51:36 -06:00
ipv4.c net: shell: Join IPv4 mcast group if needed 2023-10-27 10:52:48 +02:00
ipv6.c net: shell: Join IPv6 mcast group if needed 2023-10-27 10:52:48 +02:00
mem.c net: shell: Add mem command 2023-10-23 10:40:28 +02:00
nbr.c net: shell: Add nbr command 2023-10-23 10:40:28 +02:00
net_shell.c net: shell: Print device and wifi information for iface cmd 2023-11-06 15:51:36 -06:00
net_shell.h
ping.c net: shell: Fix unexpected timeout on loopback ping 2023-10-24 09:05:20 +02:00
pkt.c net: shell: Add pkt command 2023-10-23 10:40:28 +02:00
ppp.c net: shell: Add ppp command 2023-10-23 10:40:28 +02:00
resume.c net: shell: fix compilation errors 2023-10-23 14:20:23 +01:00
route.c net: shell: Add route command 2023-10-23 10:40:28 +02:00
sockets.c net: shell: Add net-sockets command 2023-10-24 11:11:30 +02:00
stats.c net: shell: stats: Use generic iface idx dynamic completion 2023-10-23 10:40:28 +02:00
suspend.c net: shell: fix compilation errors 2023-10-23 14:20:23 +01:00
tcp.c net: shell: Fix TCP connect behavior 2023-10-23 16:08:37 +02:00
udp.c net: shell: Add udp command 2023-10-23 10:40:28 +02:00
virtual.c net: shell: Add virtual command 2023-10-23 10:40:28 +02:00
vlan.c net: shell: vlan: Enforce arg count via shell macro 2023-10-23 10:40:28 +02:00
websocket.c net: shell: Add websocket command 2023-10-23 10:40:28 +02:00