about summary refs log tree commit diff
path: root/src/nm-test-utils-core.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2019-03-31 10:11:55 +0200
committerMichael Biebl <biebl@debian.org>2019-03-31 10:11:55 +0200
commit4b96345400eafd4bfc70fd77ef19e026d690aca0 (patch)
treefed6aa242532689235f5333132ff98b82961765f /src/nm-test-utils-core.h
parent8ea1145a9e031c8021590abf780dd7c149e231cf (diff)
parentf66fcea265a5869667d832386e9337237a44afef (diff)
Merge branch 'master' into stretch-backports
Diffstat (limited to 'src/nm-test-utils-core.h')
-rw-r--r--src/nm-test-utils-core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-test-utils-core.h b/src/nm-test-utils-core.h
index 5e89cb39..dbfe71ad 100644
--- a/src/nm-test-utils-core.h
+++ b/src/nm-test-utils-core.h
@@ -88,8 +88,8 @@ nmtst_platform_ip4_address_full (const char *address, const char *peer_address,
 {
 	NMPlatformIP4Address *addr = nmtst_platform_ip4_address (address, peer_address, plen);
 
-	G_STATIC_ASSERT (IFNAMSIZ == sizeof (addr->label));
-	g_assert (!label || strlen (label) < IFNAMSIZ);
+	G_STATIC_ASSERT (NMP_IFNAMSIZ == sizeof (addr->label));
+	g_assert (!label || strlen (label) < NMP_IFNAMSIZ);
 
 	addr->ifindex = ifindex;
 	addr->addr_source = source;