From 989a65f18ef3fa2f5859abbf71dfd0bf2ebc863f Mon Sep 17 00:00:00 2001 From: "pavel.pimenov" Date: Tue, 24 Oct 2017 09:01:23 +0300 Subject: [PATCH] upnp: reduce size NewPortMappingDescription --- src/upnp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/upnp.cpp b/src/upnp.cpp index be52ab795..670fe1e37 100644 --- a/src/upnp.cpp +++ b/src/upnp.cpp @@ -763,14 +763,14 @@ void upnp::create_port_mapping(http_connection& c, rootdevice& d "%u" "%s" "1" - "%s at %s:%d" + "%s" "%u" "" , soap_action, d.service_namespace.c_str(), d.mapping[i].external_port , to_string(d.mapping[i].protocol) , d.mapping[i].local_ep.port() , local_endpoint.c_str() - , m_user_agent.c_str(), local_endpoint.c_str(), d.mapping[i].local_ep.port() + , m_user_agent.c_str() , d.lease_duration, soap_action); post(d, soap, soap_action);