1
0
mirror of https://code.semirocket.science/wrapsix synced 2024-09-19 23:11:04 +03:00

Changed default IPv6 address for WrapSix

This commit is contained in:
xHire 2017-10-28 09:48:54 +02:00
parent cb286e7ae7
commit e38afce62a

View File

@ -290,8 +290,9 @@ int cfg_host_ips(char *cinterface, struct s_ipv6_addr *ipv6_addr,
/* IPv6 default? huh... but we can't work without host IPv6 address */ /* IPv6 default? huh... but we can't work without host IPv6 address */
if (!(found & 0x05)) { if (!(found & 0x05)) {
/* the IPv4 in there is from class E, just to be sure */
/* FUN: try to decode it ;c) */ /* FUN: try to decode it ;c) */
inet_pton(AF_INET6, "64:ff9b::E7ad:514", ipv6_addr); inet_pton(AF_INET6, "64:ff9b::F7ad:514", ipv6_addr);
} }
freeifaddrs(ifaddr); freeifaddrs(ifaddr);