mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 20:41:44 -07:00
OneService now binds all ports to specific local interfaces instead of wildcard and rebinds on changes. (default route)
This commit is contained in:
parent
4a109658ab
commit
32cd2a02c9
5 changed files with 294 additions and 219 deletions
|
@ -804,7 +804,7 @@ struct TestPhyHandlers;
|
|||
static Phy<TestPhyHandlers *> *testPhyInstance = (Phy<TestPhyHandlers *> *)0;
|
||||
struct TestPhyHandlers
|
||||
{
|
||||
inline void phyOnDatagram(PhySocket *sock,void **uptr,const struct sockaddr *from,void *data,unsigned long len)
|
||||
inline void phyOnDatagram(PhySocket *sock,void **uptr,const struct sockaddr *localAddr,const struct sockaddr *from,void *data,unsigned long len)
|
||||
{
|
||||
++phyTestUdpPacketCount;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue