[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #46837] Don't send dhcp_release message in dhcp_releas
From: |
Robin |
Subject: |
[lwip-devel] [bug #46837] Don't send dhcp_release message in dhcp_release function |
Date: |
Thu, 07 Jan 2016 06:32:23 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?46837>
Summary: Don't send dhcp_release message in dhcp_release
function
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: back1127_mtk
Submitted on: Thu Jan 7 06:32:22 2016
Category: DHCP
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: git head
_______________________________________________________
Details:
In dhcp_release function,
At the beginning of function, it call dhcp_set_state(dhcp, DHCP_STATE_OFF);
Next, it call dhcp_supplied_address(netif) to check address is dhcp-assigned
or not. in this function, it will check dhcp state and always return 0 because
the state is set as OFF.
So, it will return ERR_OK directly and don't send release message.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?46837>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #46837] Don't send dhcp_release message in dhcp_release function,
Robin <=