aboutsummaryrefslogtreecommitdiff
path: root/inet/netinet/in.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-12-16 15:32:59 +0000
committerRoland McGrath <roland@gnu.org>1995-12-16 15:32:59 +0000
commit293e360a253166ba57b1b4ae245b2f73043d8d4b (patch)
tree30f9632124181f0fa579e73e989c439b3d3b3b6b /inet/netinet/in.h
parentd2774288898fbdbb0cf765383be026f47e211091 (diff)
downloadglibc-293e360a253166ba57b1b4ae245b2f73043d8d4b.zip
glibc-293e360a253166ba57b1b4ae245b2f73043d8d4b.tar.gz
glibc-293e360a253166ba57b1b4ae245b2f73043d8d4b.tar.bz2
Fixed typo in IPPORT_WHOIS.
Diffstat (limited to 'inet/netinet/in.h')
-rw-r--r--inet/netinet/in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index 686dd1c..609edf8 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -52,7 +52,7 @@ enum
IPPORT_SMTP = 25, /* Simple Mail Transfer Protocol. */
IPPORT_TIMESERVER = 37, /* Timeserver service. */
IPPORT_NAMESERVER = 42, /* Domain Name Service. */
- IPPROT_WHOIS = 43, /* Internet Whois service. */
+ IPPORT_WHOIS = 43, /* Internet Whois service. */
IPPORT_MTP = 57,
IPPORT_TFTP = 69, /* Trivial File Transfer Protocol. */
@@ -175,7 +175,7 @@ struct sockaddr_in
/* Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
The `ip_dst' field is used for the first-hop gateway when using a
source route (this gets put into the header proper). */
-struct ip_opts
+struct ip_opts
{
struct in_addr ip_dst; /* First hop; zero without source route. */
char ip_opts[40]; /* Actually variable in size. */