fix find_pinhole()

see #663
This commit is contained in:
Thomas Bernard 2023-11-14 21:47:52 +01:00
parent 025f0f502b
commit 424f5c259f
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ find_pinhole(const char * ifname,
if ((proto == p->proto) && (rem_port == p->rport)
&& (0 == memcmp(&saddr, &p->rhost6, sizeof(struct in6_addr)))
&& (int_port == p->eport) &&
&& (int_port == p->iport) &&
(0 == memcmp(&daddr, &p->iaddr6, sizeof(struct in6_addr)))) {
if (sscanf(p->desc, PINEHOLE_LABEL_FORMAT_SKIPDESC, &uid, &ts) != 2) {