libnm: fix API break in "nm-utils.h" for NM_UTILS_INET_ADDRSTRLEN

This is part of public API, and was wrongly renamed during some internal
refactoring.

Reported-by: Eivind Næss <eivnaes@yahoo.com>

Fixes: 08eff4c46e ('glib-aux: rename IP address related helpers from "nm-inet-utils.h"')
This commit is contained in:
Thomas Haller 2022-09-22 08:20:01 +02:00
parent 23ce9cff99
commit d1fd6eb53b
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -171,12 +171,12 @@ gboolean nm_utils_is_valid_iface_name(const char *name, GError **error);
gboolean nm_utils_is_uuid(const char *str);
/**
* NM_INET_ADDRSTRLEN:
* NM_UTILS_INET_ADDRSTRLEN:
*
* Defines the minimal length for a char buffer that is suitable as @dst argument
* for both nm_utils_inet4_ntop() and nm_utils_inet6_ntop().
**/
#define NM_INET_ADDRSTRLEN INET6_ADDRSTRLEN
#define NM_UTILS_INET_ADDRSTRLEN INET6_ADDRSTRLEN
const char *nm_utils_inet4_ntop(guint32 inaddr, char *dst);