patchlwIP - A Lightweight TCP/IP stack - Patches: patch #8484, SNTP mods to get servers from DHCP...

 
 

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

patch #8484: SNTP mods to get servers from DHCP and manually add/remove servers

Submitter:  Sergio R. Caprile <scaprile>
Submitted:  Thu 19 Jun 2014 10:06:07 PM UTC
   
 
Category:  Contrib Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Mon 16 Feb 2015 08:29:20 PM UTC, comment #2: 

Done, but changed to support names and addresses in parallel.

Thanks for the patch.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 24 Jun 2014 03:27:35 PM UTC, comment #1: 

Rewrote some stuff so the whole operation is selected at runtime: sntp_servermode(mode) selects from addresses, names, or DHCP. This is more "real-life configuration friendly" as the final user will enter a name or accept DHCP, and might not want to use DHCP provided servers at will.
see patch_sntp_1_2.zip

(file #31611)

Sergio R. Caprile <scaprile>
Thu 19 Jun 2014 10:06:07 PM UTC, original submission:  

Servers are configured at runtime; manually added either by name or by address, by runtime config option (all names, all addresses).
Do not configure for names if you'll be getting your servers from DHCP.

Getting servers from DHCP requires patch #8361 to be applied to lwIP 1.4.1 in order for DHCP code to call ntp_setserver() to add server(s).

Sergio R. Caprile <scaprile>

 

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

Attached Files
file #31611:  patch_sntp_1_2.zip added by scaprile (3KiB - application/zip)
file #31584:  patch_sntp.zip added by scaprile (3KiB - application/zip)

 

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 scaprile (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-16 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2014-06-24 scaprile Attached File- Added patch_sntp_1_2.zip, #31611
    2014-06-19 scaprile Attached File- Added patch_sntp.zip, #31584

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code