Increase ifname size to accomodate Windows (issue #1560)

This commit is contained in:
Joseph Henry 2022-02-11 10:08:56 -08:00
parent 1d15d4e8d3
commit c5008031b9
No known key found for this signature in database
GPG Key ID: C45B33FF5EBC9344

View File

@ -145,7 +145,7 @@ private:
ZT_PHY_SOCKFD_TYPE sock;
void *uptr; // user-settable pointer
ZT_PHY_SOCKADDR_STORAGE_TYPE saddr; // remote for TCP_OUT and TCP_IN, local for TCP_LISTEN, RAW, and UDP
char ifname[32];
char ifname[256 + 4];
};
std::list<PhySocketImpl> _socks;