Skip to content
Snippets Groups Projects
Commit fb8977c5 authored by Joe Hershberger's avatar Joe Hershberger
Browse files

net: Always build the string_to_enetaddr() helper


Part of the env cleanup moved this out of the environment code and into
the net code. However, this helper is sometimes needed even when the net
stack isn't included.

Move the helper to lib/net_utils.c like it's similarly-purposed
string_to_ip(). Also rename the moved function to similar naming.

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Reported-by: default avatarOndrej Jirman <megous@megous.com>
parent b38c3a64
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment