Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpcap comment fix (less diff with tcpdump.org)



details:   https://anonhg.NetBSD.org/src/rev/cdc50450af1d
branches:  trunk
changeset: 484899:cdc50450af1d
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Apr 14 14:18:40 2000 +0000

description:
comment fix (less diff with tcpdump.org)

diffstat:

 lib/libpcap/nametoaddr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 069008dfbb3c -r cdc50450af1d lib/libpcap/nametoaddr.c
--- a/lib/libpcap/nametoaddr.c  Fri Apr 14 14:17:13 2000 +0000
+++ b/lib/libpcap/nametoaddr.c  Fri Apr 14 14:18:40 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nametoaddr.c,v 1.12 1999/11/28 14:51:04 itojun Exp $   */
+/*     $NetBSD: nametoaddr.c,v 1.13 2000/04/14 14:18:40 itojun Exp $   */
 
 /*
  * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996
@@ -30,7 +30,7 @@
 static const char rcsid[] =
     "@(#) Header: nametoaddr.c,v 1.47 97/06/13 13:16:19 leres Exp  (LBL)";
 #else
-__RCSID("$NetBSD: nametoaddr.c,v 1.12 1999/11/28 14:51:04 itojun Exp $");
+__RCSID("$NetBSD: nametoaddr.c,v 1.13 2000/04/14 14:18:40 itojun Exp $");
 #endif
 #endif
 
@@ -114,7 +114,7 @@
 
        memset(&hints, 0, sizeof(hints));
        hints.ai_family = PF_UNSPEC;
-       hints.ai_socktype = SOCK_DGRAM; /*not really..*/
+       hints.ai_socktype = SOCK_STREAM;        /*not really*/
        error = getaddrinfo(name, NULL, &hints, &res);
        if (error)
                return NULL;



Home | Main Index | Thread Index | Old Index