From d29cd00d2b9ca016baebc46100a79e0f835dc324 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 5 Jun 2014 10:11:00 +0200 Subject: [PATCH] nmtst: return const address from nmtst_inet6_from_string() Signed-off-by: Thomas Haller --- include/nm-test-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h index 518ab2306..0f3fa6c4c 100644 --- a/include/nm-test-utils.h +++ b/include/nm-test-utils.h @@ -119,7 +119,7 @@ nmtst_inet4_from_string (const char *str) return addr; } -inline static struct in6_addr * +inline static const struct in6_addr * nmtst_inet6_from_string (const char *str) { static struct in6_addr addr;