projects
/
cascardo
/
gnio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IPv6 support for to_native and from_native, and support
[cascardo/gnio.git]
/
gnio
/
ginet6address.c
diff --git
a/gnio/ginet6address.c
b/gnio/ginet6address.c
index
6598572
..
1efcba5
100644
(file)
--- a/
gnio/ginet6address.c
+++ b/
gnio/ginet6address.c
@@
-138,5
+138,7
@@
g_inet6_address_new_loopback (void)
GInet6Address *
g_inet6_address_new_any (void)
{
- return NULL;
+ guint8 bytes[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
+
+ return g_inet6_address_from_bytes (bytes);
}