client.c patch



My syslog was filling up with dhcp debug messages because my campus wireless T1 time is 15 minutes. I removed the DEBUG flag from panel-applet/Makefile.am and then NM failed to make a DHCP connection. The problem seems to be a missed placed #endif
_________________

--- client.c_orig    2005-02-16 17:04:49.115386848 -0500
+++ client.c    2005-02-16 17:09:37.458552024 -0500
@@ -479,8 +479,9 @@
#ifdef DEBUG
syslog (LOG_INFO, "DHCP: Starting request loop, overall start_time = {%lds, %ldus}\n",
        (long)overall_end.tv_sec, (long)overall_end.tv_usec);
-    overall_end.tv_sec += iface->client_options->base_timeout;
#endif
+    overall_end.tv_sec += iface->client_options->base_timeout;
+
    do
    {
        udpipMessage        *udp_msg_recv = NULL;

--
Bill Moss
Professor, Mathematical Sciences
Clemson University




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]