aboutsummaryrefslogtreecommitdiff
path: root/Mono.Nat/Pmp/PmpNatDevice.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Mono.Nat/Pmp/PmpNatDevice.cs')
-rw-r--r--Mono.Nat/Pmp/PmpNatDevice.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Nat/Pmp/PmpNatDevice.cs b/Mono.Nat/Pmp/PmpNatDevice.cs
index bf27bfebc..dc0e2c89b 100644
--- a/Mono.Nat/Pmp/PmpNatDevice.cs
+++ b/Mono.Nat/Pmp/PmpNatDevice.cs
@@ -95,7 +95,7 @@ namespace Mono.Nat.Pmp
try
{
- byte[] buffer = package.ToArray(package.Count);
+ byte[] buffer = package.ToArray();
int attempt = 0;
int delay = PmpConstants.RetryDelay;