Drop has_gaa_on_link_prefix flag and remove obsolete functions thusly

This commit is contained in:
Corinna Vinschen
2015-12-15 14:44:33 +01:00
parent 2fb0813caa
commit a759558418
4 changed files with 4 additions and 167 deletions

View File

@@ -32,8 +32,6 @@ details. */
#include <stdio.h>
#include <stdlib.h>
extern "C" int ip_addr_prefix (PIP_ADAPTER_UNICAST_ADDRESS pua,
PIP_ADAPTER_PREFIX pap);
bool get_adapters_addresses (PIP_ADAPTER_ADDRESSES *pa0, ULONG family);
static off_t format_procnet_ifinet6 (void *, char *&);
@@ -262,7 +260,7 @@ format_procnet_ifinet6 (void *, char *&filebuf)
filesize += sprintf (filebuf + filesize,
"%02lx %02x %02x %02x %s\n",
(long) pap->Ipv6IfIndex,
ip_addr_prefix (pua, pap->FirstPrefix),
pua->OnLinkPrefixLength,
get_scope (&((struct sockaddr_in6 *)
pua->Address.lpSockaddr)->sin6_addr),
dad_to_flags [pua->DadState],