|
@@ -374,7 +374,8 @@ bool DhcpClient::start(const char *ip, const char *macaddr, const char *gateway)
|
|
macaddr_ = macaddr;
|
|
macaddr_ = macaddr;
|
|
gateway_ = gateway;
|
|
gateway_ = gateway;
|
|
record_time_ = get_sec();
|
|
record_time_ = get_sec();
|
|
- lease_ = 60 * 60; // 1 hour
|
|
|
|
|
|
+// lease_ = 60 * 60; // 1 hour
|
|
|
|
+ lease_ = 100; // 100分钟
|
|
record_lease_ = 0;
|
|
record_lease_ = 0;
|
|
|
|
|
|
LOGD("开始请求dhcp,ip == %s", ip);
|
|
LOGD("开始请求dhcp,ip == %s", ip);
|