Failed to remove port mappings with the NAT-PMP interface
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| DC++ |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
https:/
"When a mapping is destroyed successfully as a result of the client
explicitly requesting the deletion, the NAT gateway MUST send a
response packet that is formatted as defined in Section 3.3,
"Requesting a Mapping". The response MUST contain a result code of
0, the internal port as indicated in the deletion request, an
external port of 0, and a lifetime of 0."
According the specs, the external port in the removal response should be zero. However, the code at https:/

Fixed according to the spec; also added a check for the lifetime value.