Commit 3492be60 authored by Olivier Crête's avatar Olivier Crête 👻 Committed by Olivier Crête
Browse files

interfaces: IPv6 addresses can have a scope and be very long

Just put a much larger buffer for this to work.

Fixes #126
parent e51bcb25
Pipeline #240368 passed with stages
in 18 minutes and 42 seconds
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment