diff options
| -rwxr-xr-x | PICA_node.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/PICA_node.c b/PICA_node.c index 7c8e520..26857fb 100755 --- a/PICA_node.c +++ b/PICA_node.c @@ -2777,11 +2777,10 @@ while(nap) //IPv6 } } - else - { - if (0 == strncmp(nap->addr, inet_ntoa(nl->addr.sin_addr),16) && nap->port == ntohs(nl->addr.sin_port)) - skip = 1; - } + + if (0 == strncmp(nap->addr, inet_ntoa(nl->addr.sin_addr),16) && nap->port == ntohs(nl->addr.sin_port)) + skip = 1; + nl = nl->next; } |
