Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sup/source typo in IPv6 support. listen to wildcar...
details:   https://anonhg.NetBSD.org/src/rev/7626147af593
branches:  trunk
changeset: 515165:7626147af593
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Sep 18 04:36:28 2001 +0000
description:
typo in IPv6 support.  listen to wildcard address correctly.
diffstat:
 usr.sbin/sup/source/scm.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r af1892183eda -r 7626147af593 usr.sbin/sup/source/scm.c
--- a/usr.sbin/sup/source/scm.c Tue Sep 18 03:50:43 2001 +0000
+++ b/usr.sbin/sup/source/scm.c Tue Sep 18 04:36:28 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scm.c,v 1.11 2001/09/11 03:33:52 itojun Exp $  */
+/*     $NetBSD: scm.c,v 1.12 2001/09/18 04:36:28 itojun Exp $  */
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -238,7 +238,7 @@
        memset(&hints, 0, sizeof(hints));
        hints.ai_family = af;
        hints.ai_socktype = SOCK_STREAM;
-       hints.ai_socktype = AI_PASSIVE;
+       hints.ai_flags = AI_PASSIVE;
        error = getaddrinfo(NULL, server, &hints, &res0);
        if (error) {
                /* retry with precompiled knowledge */
Home |
Main Index |
Thread Index |
Old Index