View previous topic :: View next topic |
Author |
Message |
Avernar
Joined: 22 Sep 2016 Posts: 2 Location: Canada
|
Posted: Thu Sep 22, 2016 11:42 pm Post subject: natpmp.c index issue |
|
|
I've been working on getting miniupnpd working with the latest ipfw in Freebsd. So far the nat code works well and I am working on the pinhole code.
Noticed in pcpserver.c that there is a missing when a redirect or pinhole is deleted. You can see the correct version in natpmp.c which has the decrement on deletion. |
|
Back to top |
|
 |
Avernar
Joined: 22 Sep 2016 Posts: 2 Location: Canada
|
Posted: Fri Sep 23, 2016 1:45 am Post subject: |
|
|
Never mind. After staring at the code I noticed it exits the loop after finding a match.
The ifdefs and what was or wasn't part of the for loop threw me off.
Continuing to work on my pinhole code. |
|
Back to top |
|
 |
|