mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-12 11:10:31 +01:00
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:
parent
23ce9cff99
commit
d1fd6eb53b
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue