aboutsummaryrefslogtreecommitdiff
path: root/Mono.Nat/INatDevice.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-27 21:07:40 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-27 21:07:40 -0400
commitce043225c4096b2082bdf351bd5d59848f4eb533 (patch)
tree2978843a59e7df933451a438226c7a91497e9bce /Mono.Nat/INatDevice.cs
parent8e57296f6986f13578f37647640fcaf49c9981f1 (diff)
update port mapper
Diffstat (limited to 'Mono.Nat/INatDevice.cs')
-rw-r--r--Mono.Nat/INatDevice.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mono.Nat/INatDevice.cs b/Mono.Nat/INatDevice.cs
index c9f27055b..44ba5223b 100644
--- a/Mono.Nat/INatDevice.cs
+++ b/Mono.Nat/INatDevice.cs
@@ -30,12 +30,13 @@ using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
+using System.Threading.Tasks;
namespace Mono.Nat
{
public interface INatDevice
{
- void CreatePortMap (Mapping mapping);
+ Task CreatePortMap (Mapping mapping);
void DeletePortMap (Mapping mapping);
IPAddress LocalAddress { get; }