mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-21 16:50:43 +01:00
tests: use in_addr_t type for IPv4 addresses in test helpers
This commit is contained in:
parent
adb78bd471
commit
6efd4e2efa
1 changed files with 2 additions and 2 deletions
|
|
@ -1400,10 +1400,10 @@ nmtst_uuid_generate (void)
|
|||
g_error ("%s:%d: Expects \"%s\" but got \"%s\"", __FILE__, __LINE__, __substr, __str); \
|
||||
} G_STMT_END
|
||||
|
||||
static inline guint32
|
||||
static inline in_addr_t
|
||||
nmtst_inet4_from_string (const char *str)
|
||||
{
|
||||
guint32 addr;
|
||||
in_addr_t addr;
|
||||
int success;
|
||||
|
||||
if (!str)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue