commit | 8e7545ea1e5a98ddafa3012d437c212bfec8b4b8 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Fri Sep 13 19:21:16 2019 -0500 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Dec 09 09:47:41 2019 -0600 |
tree | 49a2f694f9ba5eee2302570311ec21b00bb659aa | |
parent | 1c3dffc1f2957a386de9de247dcdb7d9e40d8df6 [diff] |
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: Joe Hershberger <joe.hershberger@ni.com> Reported-by: Ondrej Jirman <megous@megous.com>