Mercurial > ecos
changeset 749:800af3130c76
src/getserv.c: Added a servent structure for SNTP.
| author | asl |
|---|---|
| date | Tue, 25 Feb 2003 14:43:42 +0000 |
| parents | d21da3c91474 |
| children | 06c560ce58bb |
| files | packages/net/common/current/ChangeLog packages/net/common/current/src/getserv.c |
| diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/common/current/ChangeLog +++ b/packages/net/common/current/ChangeLog @@ -1,3 +1,7 @@ +2003-02-25 Andrew Lunn <andrew.lunn@ascom.ch> + + * src/getserv.c: Added a servent structure for SNTP. + 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> * cdl/net.cdl: Improve doc links.
--- a/packages/net/common/current/src/getserv.c +++ b/packages/net/common/current/src/getserv.c @@ -47,6 +47,7 @@ static struct servent services[] = { { "ftp-data", 0, 20 , "tcp" }, { "domain", 0, 53 , "udp" }, { "tftp", 0, 69 , "udp" }, + { "ntp", 0, 123 , "udp" }, { "snmp", 0, 161 , "udp" }, { NULL, 0, 0 , NULL }
