Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net remove #ifdef for freebsd
details: https://anonhg.NetBSD.org/src/rev/1ab2cf84b437
branches: trunk
changeset: 509593:1ab2cf84b437
user: itojun <itojun%NetBSD.org@localhost>
date: Tue May 08 11:06:21 2001 +0000
description:
remove #ifdef for freebsd
diffstat:
sys/net/if_faith.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (21 lines):
diff -r 087e844d00dc -r 1ab2cf84b437 sys/net/if_faith.c
--- a/sys/net/if_faith.c Tue May 08 10:15:13 2001 +0000
+++ b/sys/net/if_faith.c Tue May 08 11:06:21 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_faith.c,v 1.19 2001/05/08 10:15:14 itojun Exp $ */
+/* $NetBSD: if_faith.c,v 1.20 2001/05/08 11:06:21 itojun Exp $ */
/* $KAME: if_faith.c,v 1.21 2001/02/20 07:59:26 itojun Exp $ */
/*
@@ -349,11 +349,7 @@
sin6.sin6_family = AF_INET6;
sin6.sin6_len = sizeof(struct sockaddr_in6);
sin6.sin6_addr = *in6;
-#ifdef __FreeBSD__
- rt = rtalloc1((struct sockaddr *)&sin6, 0, 0UL);
-#else
rt = rtalloc1((struct sockaddr *)&sin6, 0);
-#endif
if (rt && rt->rt_ifp && rt->rt_ifp->if_type == IFT_FAITH &&
(rt->rt_ifp->if_flags & IFF_UP) != 0)
ret = 1;
Home |
Main Index |
Thread Index |
Old Index