summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/inetd/inetd.c3
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) {