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

Submitter:  Benjamin Silvestre <bsilvestre>
Submitted:  Thu 23 Mar 2017 08:21:16 AM UTC
   
 
Category:  DHCP Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned 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>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by bsilvestre (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-23 dziegel StatusNone Fixed
        Open/ClosedOpen Closed
    2017-03-23 bsilvestre Attached File- Added dhcp.h.diff, #40090

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code