pvlist now in an usable shape, requires eget

This commit is contained in:
Matej Sekoranja
2014-10-14 12:01:13 +02:00
parent 68f81b37e0
commit ac13dc19fd
2 changed files with 126 additions and 29 deletions

View File

@@ -43,6 +43,7 @@ InetAddrVector* getBroadcastAddresses(SOCKET sock,
{
osiSockAddrNode * sn = (osiSockAddrNode *)n;
sn->addr.ia.sin_port = htons(defaultPort);
// TODO discover possible duplicates
v->push_back(sn->addr);
}
ellFree(&as);