commit | b080e0a794ee1c8623a0c364cfe2f0704e3c33ea | [log] [tgz] |
---|---|---|
author | Adriano Cordova <adrianox@gmail.com> | Mon Nov 11 18:09:45 2024 -0300 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Nov 18 16:12:35 2024 +0100 |
tree | 2013532b61da4c9903fea97a89e1d406dd01efa9 | |
parent | 25e88414b14a91e8f8d7657eaf094626e17af3b4 [diff] |
net: net_utils: Move ip_to_string to lib/net_utils.c The function string_to_ip is already in net_utils, which is compiled unconditionally, but ip_to_string is currently only accessible if the legacy network stack is selected. This commit puts ip_to_string in net_utils.c and removes it from the legacy network code. Signed-off-by: Adriano Cordova <adrianox@gmail.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>