diff options
Diffstat (limited to 'Swiften/Network/MiniUPnPInterface.h')
| -rw-r--r-- | Swiften/Network/MiniUPnPInterface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Network/MiniUPnPInterface.h b/Swiften/Network/MiniUPnPInterface.h index 89457b8..8c68268 100644 --- a/Swiften/Network/MiniUPnPInterface.h +++ b/Swiften/Network/MiniUPnPInterface.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2011-2016 Isode Limited. | 2 | * Copyright (c) 2011-2018 Isode Limited. |
| 3 | * Licensed under the simplified BSD license. | 3 | * Licensed under the simplified BSD license. |
| 4 | * See Documentation/Licenses/BSD-simplified.txt for more information. | 4 | * See Documentation/Licenses/BSD-simplified.txt for more information. |
| 5 | */ | 5 | */ |
| @@ -23,7 +23,7 @@ namespace Swift { | |||
| 23 | virtual bool isAvailable(); | 23 | virtual bool isAvailable(); |
| 24 | 24 | ||
| 25 | boost::optional<HostAddress> getPublicIP(); | 25 | boost::optional<HostAddress> getPublicIP(); |
| 26 | boost::optional<NATPortMapping> addPortForward(int localPort, int publicPort); | 26 | boost::optional<NATPortMapping> addPortForward(unsigned short localPort, unsigned short publicPort); |
| 27 | bool removePortForward(const NATPortMapping&); | 27 | bool removePortForward(const NATPortMapping&); |
| 28 | 28 | ||
| 29 | private: | 29 | private: |
Swift