diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2022-08-27 23:32:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 23:32:37 +0200 |
commit | b2bcf81c7cb6b4da9a6bbf33da5ac52a264ae431 (patch) | |
tree | bcd5a0cd36298691d65f12ed312c6a82e2935594 | |
parent | d3db8bbebddc61d07179bc1acc27853813e7a2a0 (diff) | |
parent | 2685cc7bb6708df745317fd2f078bc945555e4f8 (diff) |
Merge pull request #63809 from mhilbrunner/upnp-no-delete-only-add
UPNP: Don't delete previous mappings when adding new port mappings
-rw-r--r-- | modules/upnp/upnp.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/upnp/upnp.cpp b/modules/upnp/upnp.cpp index d762ca4f09..82fe39e003 100644 --- a/modules/upnp/upnp.cpp +++ b/modules/upnp/upnp.cpp @@ -319,8 +319,6 @@ int UPNP::add_port_mapping(int port, int port_internal, String desc, String prot return UPNP_RESULT_NO_GATEWAY; } - dev->delete_port_mapping(port, proto); - return dev->add_port_mapping(port, port_internal, desc, proto, duration); } |