mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 10:38:30 +02:00
nmtst: return const address from nmtst_inet6_from_string()
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
237ee05887
commit
d29cd00d2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue