diff options
| author | itojun <itojun@NetBSD.org> | 2004-11-16 06:00:37 +0000 |
|---|---|---|
| committer | itojun <itojun@NetBSD.org> | 2004-11-16 06:00:37 +0000 |
| commit | bb4eb5b8cd768f85e989ddd202848bbed3bc1fd8 (patch) | |
| tree | 063a0225a2e3b7f96d35b1a89871626dbce3acfa /usr.sbin/lpr/common_source | |
| parent | b95181fc9b5c8e1c0a8f1b66404fb4ff5ad473db (diff) | |
NI_WITHSCOPEID was not picked up by IETF standardization
Diffstat (limited to 'usr.sbin/lpr/common_source')
| -rw-r--r-- | usr.sbin/lpr/common_source/common.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/lpr/common_source/common.c b/usr.sbin/lpr/common_source/common.c index 36a19fe0375..41d698d4c02 100644 --- a/usr.sbin/lpr/common_source/common.c +++ b/usr.sbin/lpr/common_source/common.c @@ -1,4 +1,4 @@ -/* $NetBSD: common.c,v 1.26 2003/10/16 06:30:11 itojun Exp $ */ +/* $NetBSD: common.c,v 1.27 2004/11/16 06:00:37 itojun Exp $ */ /* * Copyright (c) 1983, 1993 @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)common.c 8.5 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: common.c,v 1.26 2003/10/16 06:30:11 itojun Exp $"); +__RCSID("$NetBSD: common.c,v 1.27 2004/11/16 06:00:37 itojun Exp $"); #endif #endif /* not lint */ @@ -308,11 +308,7 @@ checkremote(void) static char errbuf[128]; int error; struct ifaddrs *ifap, *ifa; -#ifdef NI_WITHSCOPEID - const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID; -#else const int niflags = NI_NUMERICHOST; -#endif #ifdef __KAME__ struct sockaddr_in6 sin6; struct sockaddr_in6 *sin6p; |
