mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 12:30:07 +01: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;
|
||||
}
|
||||
|
||||
inline static struct in6_addr *
|
||||
inline static const struct in6_addr *
|
||||
nmtst_inet6_from_string (const char *str)
|
||||
{
|
||||
static struct in6_addr addr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue