diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/tork/fix_net_port.patch | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/tork/fix_net_port.patch')
-rw-r--r-- | community/tork/fix_net_port.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/tork/fix_net_port.patch b/community/tork/fix_net_port.patch new file mode 100644 index 000000000..b5545e0b2 --- /dev/null +++ b/community/tork/fix_net_port.patch @@ -0,0 +1,20 @@ +--- A/src/upnp/upnprouter.h ++++ B/src/upnp/upnprouter.h +@@ -242,7 +242,7 @@ + * @param port The local port to forward + */ + void forward(const net::Port & externalport, +- const net::Port & internalport = net::Port::Port(), ++ const net::Port & internalport = net::Port(), + bool force = false); + + /** +@@ -291,7 +291,7 @@ + bt::HTTPRequest* sendSoapQuery(const QString & query,const QString & soapact,const QString & controlurl,bool fwd, bool at_exit = false ); + bool verbose; + +- void forward(UPnPService* srv,const net::Port & externalport,const net::Port & internalport = net::Port::Port()); ++ void forward(UPnPService* srv,const net::Port & externalport,const net::Port & internalport = net::Port()); + void undoForward(UPnPService* srv,const net::Port & externalport,const net::Port & + internalport,bt::WaitJob* waitjob); + void httpRequestDone(bt::HTTPRequest* r,bool erase_fwd); |