OneService now binds all ports to specific local interfaces instead of wildcard and rebinds on changes. (default route)

This commit is contained in:
Adam Ierymenko 2016-04-05 15:44:08 -07:00
parent 4a109658ab
commit 32cd2a02c9
5 changed files with 294 additions and 219 deletions

View file

@ -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;
}