Skip to content
Commit 0528df9a authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

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: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent b325f505
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment