projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e51bcb2
)
interfaces: IPv6 addresses can have a scope and be very long
author
Olivier Crête
<olivier.crete@collabora.com>
Wed, 18 Nov 2020 00:14:46 +0000
(19:14 -0500)
committer
Olivier Crête
<olivier.crete@ocrete.ca>
Mon, 7 Dec 2020 22:44:39 +0000
(22:44 +0000)
Just put a much larger buffer for this to work.
Fixes #126
agent/interfaces.c
patch
|
blob
|
history
diff --git
a/agent/interfaces.c
b/agent/interfaces.c
index
f75f7cf
..
5b9eb9d
100644
(file)
--- a/
agent/interfaces.c
+++ b/
agent/interfaces.c
@@
-89,7
+89,7
@@
static const gchar *ignored_iface_prefix_list[] = {
static gchar *
sockaddr_to_string (const struct sockaddr *addr)
{
- char addr_as_string[
INET6_ADDRSTRLEN+1
];
+ char addr_as_string[
NI_MAXHOST
];
size_t addr_len;
switch (addr->sa_family) {