This commit is contained in:
gabe-contreras 2025-08-04 10:00:47 -07:00 committed by GitHub
commit e38c9d6475
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -470,6 +470,7 @@ class Binder {
if (_bindingCount < ZT_BINDER_MAX_BINDINGS) {
_bindings[_bindingCount].udpSock = udps;
_bindings[_bindingCount].address = ii->first;
memset(_bindings[_bindingCount].ifname, 0x0, ZT_MAX_PHYSIFNAME);
memcpy(_bindings[_bindingCount].ifname, (char*)ii->second.c_str(), (int)ii->second.length());
++_bindingCount;
}