diff options
author | mestre <mestre@openbsd.org> | 2016-03-16 20:16:39 +0000 |
---|---|---|
committer | mestre <mestre@openbsd.org> | 2016-03-16 20:16:39 +0000 |
commit | 4c67a02ce544718ccd39029355dd36ccbfe1db45 (patch) | |
tree | 17ecb2fbb7310823b666bce18abde1ed28e9d2c4 /usr.sbin/inetd | |
parent | Replace strncpy(3) calls for safer strlcpy(3) (diff) | |
download | wireguard-openbsd-4c67a02ce544718ccd39029355dd36ccbfe1db45.tar.xz wireguard-openbsd-4c67a02ce544718ccd39029355dd36ccbfe1db45.zip |
Remove a (now) obsolete comment about shortened IPv4 syntax
OK deraadt@ jca@
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r-- | usr.sbin/inetd/inetd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index ed6aee90991..f4db1af242d 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetd.c,v 1.152 2016/03/16 20:15:15 mestre Exp $ */ +/* $OpenBSD: inetd.c,v 1.153 2016/03/16 20:16:39 mestre Exp $ */ /* * Copyright (c) 1983,1991 The Regents of the University of California. @@ -1252,7 +1252,6 @@ more: hints.ai_socktype = sep->se_socktype; hints.ai_flags = AI_PASSIVE; port = "0"; - /* XXX shortened IPv4 syntax is now forbidden */ error = getaddrinfo(strcmp(host, "*") ? host : NULL, port, &hints, &res0); if (error) { |