buglwIP - A Lightweight TCP/IP stack - Bugs: bug #53574, DHCP issue when...

 
 

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

bug #53574: DHCP issue when LWIP_DHCP_BOOTP_FILE is set

Submitter:  Ben <bwijen>
Submitted:  Fri 06 Apr 2018 12:01:54 PM UTC
   
 
Category:  DHCP Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  2.0.3

Thu 19 Apr 2018 08:19:42 PM UTC, comment #2: 

Pushed slightly changed to handle my comment #1

Simon Goldschmidt <goldsimon>
Group administrator
Wed 18 Apr 2018 08:19:36 PM UTC, comment #1: 

I think this patch breaks overloading "file": 'parse_file_as_options' is reset to 0 some lines before if it was '1'...

Simon Goldschmidt <goldsimon>
Group administrator
Fri 06 Apr 2018 12:01:54 PM UTC, original submission:  

When LWIP_DHCP_BOOTP_FILE is set:
The comment in dhcp_handle_ack for 'offered_si_addr' states:
'boot file name copied in dhcp_parse_reply if not overloaded'
However this code is never reached if the packed is not 'overloaded'

Regarding your previous comment, I've moved the code a bit down, so it will run only once.

Ben <bwijen>

 

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

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by bwijen (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-19 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2018-04-06 bwijen Attached File- Added 0001-dhcp-Fix-BOOTP_FILE-bug.patch, #43821

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code