fix module build
This commit is contained in:
parent
b53a5a0ca4
commit
685eeb51f1
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: if_l2tp.c,v 1.7 2017/04/04 16:49:15 sevan Exp $ */
|
/* $NetBSD: if_l2tp.c,v 1.8 2017/04/04 23:49:17 knakahara Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017 Internet Initiative Japan Inc.
|
* Copyright (c) 2017 Internet Initiative Japan Inc.
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.7 2017/04/04 16:49:15 sevan Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.8 2017/04/04 23:49:17 knakahara Exp $");
|
||||||
|
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
|
@ -83,9 +83,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.7 2017/04/04 16:49:15 sevan Exp $");
|
||||||
|
|
||||||
#include <net/if_l2tp.h>
|
#include <net/if_l2tp.h>
|
||||||
|
|
||||||
#if NVLAN > 0
|
|
||||||
#include <net/if_vlanvar.h>
|
#include <net/if_vlanvar.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
/* TODO: IP_TCPMSS support */
|
/* TODO: IP_TCPMSS support */
|
||||||
#undef IP_TCPMSS
|
#undef IP_TCPMSS
|
||||||
|
@ -1266,10 +1264,8 @@ l2tp_set_state(struct l2tp_softc *sc, int state)
|
||||||
mutex_exit(&sc->l2tp_lock);
|
mutex_exit(&sc->l2tp_lock);
|
||||||
|
|
||||||
#ifdef NOTYET
|
#ifdef NOTYET
|
||||||
#if NVLAN > 0
|
|
||||||
vlan_linkstate_notify(ifp, ifp->if_link_state);
|
vlan_linkstate_notify(ifp, ifp->if_link_state);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: in6_l2tp.c,v 1.4 2017/04/04 16:49:15 sevan Exp $ */
|
/* $NetBSD: in6_l2tp.c,v 1.5 2017/04/04 23:49:18 knakahara Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017 Internet Initiative Japan Inc.
|
* Copyright (c) 2017 Internet Initiative Japan Inc.
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: in6_l2tp.c,v 1.4 2017/04/04 16:49:15 sevan Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: in6_l2tp.c,v 1.5 2017/04/04 23:49:18 knakahara Exp $");
|
||||||
|
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_l2tp.h"
|
#include "opt_l2tp.h"
|
||||||
|
@ -64,8 +64,6 @@ __KERNEL_RCSID(0, "$NetBSD: in6_l2tp.c,v 1.4 2017/04/04 16:49:15 sevan Exp $");
|
||||||
#include <altq/altq.h>
|
#include <altq/altq.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <net/if_vlanvar.h>
|
|
||||||
|
|
||||||
/* TODO: IP_TCPMSS support */
|
/* TODO: IP_TCPMSS support */
|
||||||
#undef IP_TCPMSS
|
#undef IP_TCPMSS
|
||||||
#ifdef IP_TCPMSS
|
#ifdef IP_TCPMSS
|
||||||
|
|
Loading…
Reference in New Issue