Skip to content

Commit

Permalink
Add some logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
rinrab committed Jan 20, 2024
1 parent 0364e90 commit faee33b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AOVpnManager/RasApi.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;

namespace AOVpnManager
Expand Down Expand Up @@ -35,6 +36,7 @@ public static void DisconnectAll(Predicate<string> filter)
{
if (filter(connections[i].szEntryName))
{
Trace.WriteLine("Disconnecting VPN connection '{0}'...");
RasHangUp(connections[i].hrasconn);
}
}
Expand Down

0 comments on commit faee33b

Please sign in to comment.