This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Limitations with the SNTP client? - patch


Do I post this here? I have never posted a patch before, so I am kinda
new to this.

Removed optional KeyIdentifer and MesageDigest fields, which 
weren't being used, and caused certain servers not to respond
when these fields were included with null values.

ecos-opt/net/net/sntp/current/src/sntp.c

75a76,80
> /* Note that the KeyIdentifier and MessageDigest fields are not
>    included since they are optional (RFC2030) and in certain cases
>    will cause some SNTP servers from responding if included with
>    null values.
>  */
93,94d97
<   cyg_uint32    KeyIdentifier;          /* Optional */
<   cyg_uint8     MessageDigest[16];      /* Optional */



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]