From f0d807c7fe4f67a8bc7872cc4ff29127595076cd Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 9 Feb 1996 09:23:56 +0000 Subject: [PATCH] Make tundebug sysctl writable. --- sys/net/if_tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 2d92f58dc27f..14392bdb7a03 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -69,7 +69,7 @@ PSEUDO_SET(tunattach, if_tun); #define TUNDEBUG if (tundebug) printf static int tundebug = 0; -SYSCTL_INT(_debug, OID_AUTO, if_tun_debug, CTLFLAG_RD, &tundebug, 0, ""); +SYSCTL_INT(_debug, OID_AUTO, if_tun_debug, CTLFLAG_RW, &tundebug, 0, ""); static struct tun_softc tunctl[NTUN];