nmtst: return const address from nmtst_inet6_from_string()

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller
2014-06-05 10:11:00 +02:00
parent 237ee05887
commit d29cd00d2b

View File

@@ -119,7 +119,7 @@ nmtst_inet4_from_string (const char *str)
return addr; return addr;
} }
inline static struct in6_addr * inline static const struct in6_addr *
nmtst_inet6_from_string (const char *str) nmtst_inet6_from_string (const char *str)
{ {
static struct in6_addr addr; static struct in6_addr addr;