buglwIP - A Lightweight TCP/IP stack - Bugs: bug #46837, Don't send dhcp_release message in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46837: Don't send dhcp_release message in dhcp_release function

Submitted by:  Robin <back1127_mtk>
Submitted on:  Thu 07 Jan 2016 06:32:22 AM UTC  
 
Category: DHCPSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Wed 13 Jan 2016 07:56:03 AM UTC, comment #1:

Thanks for reporting!

Dirk Ziegelmeier <dziegel>
Project Member
Thu 07 Jan 2016 06:32:22 AM UTC, original submission:

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.

Robin <back1127_mtk>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dziegel (Posted a comment)
  • -unavailable- added by back1127_mtk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 13 Jan 2016 07:56:03 AM UTCdziegelStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1