Akilan1999 / p2p-rendering-computation

p2p network to enable running distributed computation and rendering.
https://p2prc.akilan.io/
GNU General Public License v2.0
27 stars 9 forks source link

added fix in if statement to fix simple error when adding ipv6 address #45

Closed Akilan1999 closed 3 years ago

Akilan1999 commented 3 years ago

possible for --as flag to add ipv6 address.

fix

if (NoDuplicates.IpAddress[k].Ipv4 != "" && NoDuplicates.IpAddress[k].Ipv4 == table.IpAddress[i].Ipv4) || (NoDuplicates.IpAddress[k].Ipv6 != "" && NoDuplicates.IpAddress[k].Ipv6 == table.IpAddress[i].Ipv6)