commit | 0528df9a4ec2d999c89667875886fe15cb679e0c | [log] [tgz] |
---|---|---|
author | Robert Lubos <robert.lubos@nordicsemi.no> | Mon Jun 24 14:38:14 2024 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Jun 26 08:59:41 2024 -0400 |
tree | 1f54e0b65e013d87cb693497a7fa9acbec25335a | |
parent | b325f50599e2b5d95b65cbf75fb44c59482013b9 [diff] |
net: shell: udp: Check net_pkt_read_u8 result In case packet read fails for any reason, there's no point proceeding or printing the byte, just break the loop in such case. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>