Skip to content

Commit

Permalink
Catch SystemException to include SocketException as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kayoub5 committed Jan 3, 2024
1 parent 31ab5a5 commit 8ee2aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test/Tunneling/TunnelDeviceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void TestUdpTunnel()
{
tapDevice.Open(DeviceModes.Promiscuous);
}
catch (IOException ex)
catch (SystemException ex)
{
Assert.Fail(ex.Message);
}
Expand Down

0 comments on commit 8ee2aa5

Please sign in to comment.