aboutsummaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 4856b11ae..7c89be28f 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -759,7 +759,7 @@ static servtab_t *getconfigent(void)
759 while (nsep != NULL) { 759 while (nsep != NULL) {
760 nsep->se_checked = 1; 760 nsep->se_checked = 1;
761 if (nsep->se_family == AF_INET) { 761 if (nsep->se_family == AF_INET) {
762 if (!strcmp(nsep->se_hostaddr, "*")) 762 if (LONE_CHAR(nsep->se_hostaddr, '*'))
763 nsep->se_ctrladdr_in.sin_addr.s_addr = INADDR_ANY; 763 nsep->se_ctrladdr_in.sin_addr.s_addr = INADDR_ANY;
764 else if (!inet_aton(nsep->se_hostaddr, &nsep->se_ctrladdr_in.sin_addr)) { 764 else if (!inet_aton(nsep->se_hostaddr, &nsep->se_ctrladdr_in.sin_addr)) {
765 struct hostent *hp; 765 struct hostent *hp;