Skip to content
Commit dd864dbd authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Anas Nashif
Browse files

net: ip: utils: simplify logic in `net_byte_to_hex`



Replace the loop with direct high and low nibble extraction,
and ensure the padding and zero suppression logic is simplified.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent f4202faa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment