ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/AnywhereTS-MSSQL/trunk/TSAdminTool/DHCP.cs
(Generate patch)

Comparing trunk/TSAdminTool/DHCP.cs (file contents):
Revision 46 by william, Thu Jul 12 14:17:14 2012 UTC vs.
Revision 47 by william, Thu Jul 12 14:29:34 2012 UTC

# Line 7 | Line 7 | using System.IO; // For Path
7   using System.Security; // Security Exception
8   using System.Windows.Forms; // Message Box
9   using System.Text.RegularExpressions; // For validate MAC address
10 <
10 > using log4net;
11   namespace AnywhereTS
12   {
13      public static class AtsDhcp // DHCP Support
# Line 100 | Line 100 | namespace AnywhereTS
100                  srvController.Start();
101                  srvController.WaitForStatus(ServiceControllerStatus.Running, TimeSpan.FromSeconds(50));
102              }
103 <            catch
103 >            catch(Exception e)
104              {
105                  MessageBox.Show(@"Could not start the TFTPD service.");
106                  using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", e.Message, System.Environment.NewLine, e.ToString())))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines