This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Limitations with the SNTP client? - patch
- From: Andre-John Mas <ajmas at sympatico dot ca>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 8 Nov 2006 9:57:34 -0500
- Subject: Re: [ECOS] 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