sync with more recent kame. defer inclusion of net/if_gif.h.
This commit is contained in:
parent
fad0a37405
commit
3075a916cc
@ -1,5 +1,5 @@
|
||||
/* $NetBSD: in_gif.c,v 1.13 2000/04/20 01:59:22 enami Exp $ */
|
||||
/* $KAME: in_gif.c,v 1.36 2000/04/19 04:51:58 itojun Exp $ */
|
||||
/* $NetBSD: in_gif.c,v 1.14 2000/04/26 05:36:41 itojun Exp $ */
|
||||
/* $KAME: in_gif.c,v 1.39 2000/04/26 05:33:31 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
@ -61,7 +61,6 @@
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/route.h>
|
||||
#include <net/if_gif.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
@ -381,6 +380,9 @@ gif_encapcheck4(m, off, proto, arg)
|
||||
/* reject packets with broadcast on source */
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
for (ia4 = in_ifaddr.tqh_first; ia4; ia4 = ia4->ia_list.tqe_next)
|
||||
#elif (defined(__FreeBSD__) && __FreeBSD__ >= 3)
|
||||
for (ia4 = TAILQ_FIRST(&in_ifaddrhead); ia4;
|
||||
ia4 = TAILQ_NEXT(ia4, ia_link))
|
||||
#else
|
||||
for (ia4 = in_ifaddr; ia4 != NULL; ia4 = ia4->ia_next)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user