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/sup/source | |
| parent | b95181fc9b5c8e1c0a8f1b66404fb4ff5ad473db (diff) | |
NI_WITHSCOPEID was not picked up by IETF standardization
Diffstat (limited to 'usr.sbin/sup/source')
| -rw-r--r-- | usr.sbin/sup/source/scm.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.sbin/sup/source/scm.c b/usr.sbin/sup/source/scm.c index b6694df8888..ad3b9faede5 100644 --- a/usr.sbin/sup/source/scm.c +++ b/usr.sbin/sup/source/scm.c @@ -1,4 +1,4 @@ -/* $NetBSD: scm.c,v 1.19 2004/09/30 02:17:53 enami Exp $ */ +/* $NetBSD: scm.c,v 1.20 2004/11/16 06:00:37 itojun Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -571,11 +571,7 @@ samehost(void) { /* is remote host same as local host? */ struct ifaddrs *ifap, *ifa; char h1[NI_MAXHOST], h2[NI_MAXHOST]; -#ifdef NI_WITHSCOPEID - const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID; -#else const int niflags = NI_NUMERICHOST; -#endif if (getnameinfo((struct sockaddr *) &remoteaddr, #ifdef BSD4_4 @@ -611,11 +607,7 @@ int matchhost(char *name) { /* is this name of remote host? */ char h1[NI_MAXHOST], h2[NI_MAXHOST]; -#ifdef NI_WITHSCOPEID - const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID; -#else const int niflags = NI_NUMERICHOST; -#endif struct addrinfo hints, *res0, *res; if (getnameinfo((struct sockaddr *) & remoteaddr, |
