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);