From 6cdd1ba4513bec0e192b5735d5476ed9f0bb8c3f Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Thu, 8 Jan 2015 15:27:58 +0100
Subject: Use "Swift" description when adding UPnP port forwardings.

Test-Information:

Verified using Port Map.app tool and router supporting UPnP.

Change-Id: I8d43a812f136979a70ef4dc62ff45448c6603b8b

diff --git a/Swiften/Network/MiniUPnPInterface.cpp b/Swiften/Network/MiniUPnPInterface.cpp
index bfa989f..357fe69 100644
--- a/Swiften/Network/MiniUPnPInterface.cpp
+++ b/Swiften/Network/MiniUPnPInterface.cpp
@@ -4,6 +4,12 @@
  * See Documentation/Licenses/BSD-simplified.txt for more information.
  */
 
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
 #include <Swiften/Network/MiniUPnPInterface.h>
 
 #include <miniupnpc.h>
@@ -78,7 +84,7 @@ boost::optional<NATPortMapping> MiniUPnPInterface::addPortForward(int actualLoca
 			publicPort.c_str(), 
 			localPort.c_str(), 
 			p->localAddress.c_str(), 
-			0, 
+			"Swift",
 			mapping.getProtocol() == NATPortMapping::TCP ? "TCP" : "UDP", 
 			0, 
 			leaseSeconds.c_str());
-- 
cgit v0.10.2-6-g49f6