diff options
| author | 2004-11-17 02:31:30 +0000 | |
|---|---|---|
| committer | 2004-11-17 02:31:30 +0000 | |
| commit | eeeee3b713bbfe65fd9ce6195773550bb3c8017a (patch) | |
| tree | 80e6f2210a312379cf4e840c046702e760781320 /usr.sbin/lpr/common_source/common.c | |
| parent | fix non-usb builds (diff) | |
| download | wireguard-openbsd-eeeee3b713bbfe65fd9ce6195773550bb3c8017a.tar.xz wireguard-openbsd-eeeee3b713bbfe65fd9ce6195773550bb3c8017a.zip | |
NI_WITHSCOPEID is no more.
Diffstat (limited to 'usr.sbin/lpr/common_source/common.c')
| -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 f9e6f17fcd1..da962cb4b22 100644 --- a/usr.sbin/lpr/common_source/common.c +++ b/usr.sbin/lpr/common_source/common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: common.c,v 1.28 2004/09/28 20:26:27 millert Exp $ */ +/* $OpenBSD: common.c,v 1.29 2004/11/17 02:31:30 itojun Exp $ */ /* $NetBSD: common.c,v 1.21 2000/08/09 14:28:50 itojun Exp $ */ /* @@ -39,7 +39,7 @@ #if 0 static const char sccsid[] = "@(#)common.c 8.5 (Berkeley) 4/28/95"; #else -static const char rcsid[] = "$OpenBSD: common.c,v 1.28 2004/09/28 20:26:27 millert Exp $"; +static const char rcsid[] = "$OpenBSD: common.c,v 1.29 2004/11/17 02:31:30 itojun Exp $"; #endif #endif /* not lint */ @@ -335,11 +335,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; |
