summary refs log tree commit diff
path: root/src/core/nm-test-utils-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nm-test-utils-core.h')
-rw-r--r--src/core/nm-test-utils-core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nm-test-utils-core.h b/src/core/nm-test-utils-core.h
index e341d62f..176f4320 100644
--- a/src/core/nm-test-utils-core.h
+++ b/src/core/nm-test-utils-core.h
@@ -49,8 +49,8 @@ nmtst_platform_ip4_address_full(const char      *address,
 {
     NMPlatformIP4Address *addr = nmtst_platform_ip4_address(address, peer_address, plen);
 
-    G_STATIC_ASSERT(NMP_IFNAMSIZ == sizeof(addr->label));
-    g_assert(!label || strlen(label) < NMP_IFNAMSIZ);
+    G_STATIC_ASSERT(NM_IFNAMSIZ == sizeof(addr->label));
+    g_assert(!label || strlen(label) < NM_IFNAMSIZ);
 
     addr->ifindex     = ifindex;
     addr->addr_source = source;