buglwIP - A Lightweight TCP/IP stack - Bugs: bug #63457, DHCP discover option does not...

 
 

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

bug #63457: DHCP discover option does not include hostname

Submitter:  Alex Rudzki <arudz_master>
Submitted:  Fri 02 Dec 2022 06:17:21 AM UTC
   
 
Category:  DHCP Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  2.2.1
lwIP version:  git head

Wed 11 Oct 2023 07:40:32 PM UTC, comment #2: 

Fixed, thanks for reporting!

Simon Goldschmidt <goldsimon>
Group administrator
Wed 11 Oct 2023 07:38:55 PM UTC, comment #1: 

This has already been fixed back in 2019: https://git.savannah.nongnu.org/cgit/lwip.git/commit/?id=90b2a6b4c4875379d18014673bafaddc1079d1af

However, let's just make sending the hostname in discover a default, I guess it's better that way.

Simon Goldschmidt <goldsimon>
Group administrator
Fri 02 Dec 2022 06:17:21 AM UTC, original submission:  

The hostname option is not included in the DHCP discover message.

Presently it is only explicitly included in 'dhcp_select', 'dhcp_renew' and 'dhcp_rebind' messages and only after 'dhcp_discover_request_options' are added.

The same `#if LWIP_NETIF_HOSTNAME` block adding hostname to the messages should be included in `dhcp_discover`

Alex Rudzki <arudz_master>

 

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

No files currently attached

 

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 arudz_master (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
    2023-10-11 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.2.1

    Back to the top

    Powered by Savane 3.13-3cd0.
    Corresponding source code