summaryrefslogtreecommitdiffstats
path: root/sys/netmpls/mpls_input.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-06-02 15:41:06 +0000
committerclaudio <claudio@openbsd.org>2010-06-02 15:41:06 +0000
commit9af8ccbc849cf6c9e2371d8de0419144a6359c15 (patch)
tree350d04e80425cbc2577acd5a34265b359c2cb617 /sys/netmpls/mpls_input.c
parentfix rcs prefix (diff)
downloadwireguard-openbsd-9af8ccbc849cf6c9e2371d8de0419144a6359c15.tar.xz
wireguard-openbsd-9af8ccbc849cf6c9e2371d8de0419144a6359c15.zip
Kill the mpls enable sysctl knob. Since MPLS needs to be enabled explicitly
on each interface there is no need for yet another knob. OK michele@
Diffstat (limited to 'sys/netmpls/mpls_input.c')
-rw-r--r--sys/netmpls/mpls_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netmpls/mpls_input.c b/sys/netmpls/mpls_input.c
index 3715a00a95a..bdab232a85b 100644
--- a/sys/netmpls/mpls_input.c
+++ b/sys/netmpls/mpls_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls_input.c,v 1.25 2010/05/31 15:31:01 claudio Exp $ */
+/* $OpenBSD: mpls_input.c,v 1.26 2010/06/02 15:41:07 claudio Exp $ */
/*
* Copyright (c) 2008 Claudio Jeker <claudio@openbsd.org>
@@ -95,7 +95,7 @@ mpls_input(struct mbuf *m)
u_int8_t ttl;
int i, hasbos;
- if (!mpls_enable || !ISSET(ifp->if_xflags, IFXF_MPLS)) {
+ if (!ISSET(ifp->if_xflags, IFXF_MPLS)) {
m_freem(m);
return;
}