diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-29 14:59:36 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-29 14:59:36 -0400 |
| commit | e5d71c1014cc2d78e5004d0736e321b350b7bb64 (patch) | |
| tree | ae4f65687a96d385b7daa0f15838851052ed4f62 /Mono.Nat/Pmp/PmpNatDevice.cs | |
| parent | 1b5a93c765bace9ed0e021fda2a1d56d2c0cf9b4 (diff) | |
change project to .net core
Diffstat (limited to 'Mono.Nat/Pmp/PmpNatDevice.cs')
| -rw-r--r-- | Mono.Nat/Pmp/PmpNatDevice.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mono.Nat/Pmp/PmpNatDevice.cs b/Mono.Nat/Pmp/PmpNatDevice.cs index adb08fce3..93007cb8a 100644 --- a/Mono.Nat/Pmp/PmpNatDevice.cs +++ b/Mono.Nat/Pmp/PmpNatDevice.cs @@ -172,7 +172,10 @@ namespace Mono.Nat.Pmp "Out of resources (NAT box cannot create any more mappings at this time)", "Unsupported opcode" }; - throw new MappingException(resultCode, errors[resultCode]); + + var errorMsg = errors[resultCode]; + NatUtility.Log("Error in CreatePortMapListen: " + errorMsg); + return; } if (lifetime == 0) return; //mapping was deleted |
