buglwIP - A Lightweight TCP/IP stack - Bugs: bug #50618, dhcp_remove_struct() macro does...

 
 

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

bug #50618: dhcp_remove_struct() macro does not work

Submitted by:  Benjamin Silvestre <bsilvestre>
Submitted on:  Thu 23 Mar 2017 08:21:16 AM UTC  
 
Category: DHCPSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Thu 23 Mar 2017 08:30:03 AM UTC, comment #1:

Correct, thanks for the patch!

Dirk Ziegelmeier <dziegel>
Project Member
Thu 23 Mar 2017 08:21:16 AM UTC, original submission:

dhcp_remove_struct macro still uses the old dhcp pointer in netif structure which does not exist anymore.

It should use netif_set_client_data() instead. I kept the wrapper "do{} while(0)" but I do not know if it is required or not.

The problem exists in lwip 2.0.2 and git head.

Benjamin Silvestre <bsilvestre>

 

Attached Files
file #40090:  dhcp.h.diff added by bsilvestre (647B - text/x-patch - dhcp.h diff file)

 

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 bsilvestre (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Mar 2017 08:30:03 AM UTCdziegelStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 23 Mar 2017 08:21:16 AM UTCbsilvestreAttached File-=>Added dhcp.h.diff, #40090

    Back to the top


    Powered by Savane 3.1-cleanup1