comment fix (less diff with tcpdump.org)

This commit is contained in:
itojun 2000-04-14 14:18:40 +00:00
parent 01d2c4aaac
commit b7a973c8c1
1 changed files with 3 additions and 3 deletions

View File

@ -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 @@ pcap_nametoaddrinfo(const char *name)
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;