mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
specify actual mtu in our RI for i2pv6
This commit is contained in:
parent
f28376bf71
commit
7a976dd5f2
2 changed files with 8 additions and 1 deletions
1
util.cpp
1
util.cpp
|
@ -411,6 +411,7 @@ namespace net
|
|||
// loook for interface matching local address
|
||||
for (ifa = ifaddr; ifa != nullptr; ifa = ifa->ifa_next)
|
||||
{
|
||||
if (!ifa->ifa_addr) continue;
|
||||
family = ifa->ifa_addr->sa_family;
|
||||
if (family == AF_INET && localAddress.is_v4 ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue