Add new .h file to VS build, and Windows side of local interface address enumeration.
This commit is contained in:
parent
84ba365c77
commit
f881cdd767
4 changed files with 51 additions and 4 deletions
|
@ -899,13 +899,17 @@ bool IncomingPacket::_doPUSH_DIRECT_PATHS(const RuntimeEnvironment *RR,const Sha
|
|||
switch(addrType) {
|
||||
case 4: {
|
||||
InetAddress a(field(ptr,4),4,at<uint16_t>(ptr + 4));
|
||||
if ((flags & (0x01 | 0x02)) == 0)
|
||||
if ((flags & (0x01 | 0x02)) == 0) {
|
||||
printf("contacting %s at %s\r\n",peer->address().toString().c_str(),a.toString().c_str());
|
||||
peer->attemptToContactAt(RR,a,RR->node->now());
|
||||
}
|
||||
} break;
|
||||
case 6: {
|
||||
InetAddress a(field(ptr,16),16,at<uint16_t>(ptr + 16));
|
||||
if ((flags & (0x01 | 0x02)) == 0)
|
||||
if ((flags & (0x01 | 0x02)) == 0) {
|
||||
printf("contacting %s at %s\r\n",peer->address().toString().c_str(),a.toString().c_str());
|
||||
peer->attemptToContactAt(RR,a,RR->node->now());
|
||||
}
|
||||
} break;
|
||||
}
|
||||
ptr += addrLen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue