nmtst: return const address from nmtst_inet6_from_string()
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user