miniupnp / miniupnp

UPnP IGD implementation
http://miniupnp.free.fr/
BSD 3-Clause "New" or "Revised" License
1.41k stars 445 forks source link

upnpc: Exit with 2 if add/delete pinhole (IPv6) fails as with IPv4 #740

Closed Self-Hosting-Group closed 1 month ago

Self-Hosting-Group commented 1 month ago

This change would be very welcome as this allows scripting of the UPnP IGD CLI client. Unfortunately, the SetPinholeAndTest/RemovePinhole functions do not return a result.